Struct aws_sdk_codeartifact::Client
source · [−]pub struct Client { /* private fields */ }
Expand description
Client for CodeArtifact
Client for invoking operations on CodeArtifact. Each operation on CodeArtifact 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 = aws_config::load_from_env().await;
let client = aws_sdk_codeartifact::Client::new(&shared_config);
// invoke an operation
/* let rsp = client
.<operation_name>().
.<param>("some value")
.send().await; */
Constructing a client with custom configuration
use aws_config::RetryConfig;
let shared_config = aws_config::load_from_env().await;
let config = aws_sdk_codeartifact::config::Builder::from(&shared_config)
.retry_config(RetryConfig::disabled())
.build();
let client = aws_sdk_codeartifact::Client::from_conf(config);
Implementations
sourceimpl 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.
sourceimpl Client
impl Client
sourcepub fn associate_external_connection(&self) -> AssociateExternalConnection
pub fn associate_external_connection(&self) -> AssociateExternalConnection
Constructs a fluent builder for the AssociateExternalConnection
operation.
- The fluent builder is configurable:
domain(impl Into<String>)
/set_domain(Option<String>)
:The name of the domain that contains the repository.
domain_owner(impl Into<String>)
/set_domain_owner(Option<String>)
:The 12-digit account number of the Amazon Web Services account that owns the domain. It does not include dashes or spaces.
repository(impl Into<String>)
/set_repository(Option<String>)
:The name of the repository to which the external connection is added.
external_connection(impl Into<String>)
/set_external_connection(Option<String>)
:The name of the external connection to add to the repository. The following values are supported:
-
public:npmjs
- for the npm public repository. -
public:nuget-org
- for the NuGet Gallery. -
public:pypi
- for the Python Package Index. -
public:maven-central
- for Maven Central. -
public:maven-googleandroid
- for the Google Android repository. -
public:maven-gradleplugins
- for the Gradle plugins repository. -
public:maven-commonsware
- for the CommonsWare Android repository.
-
- On success, responds with
AssociateExternalConnectionOutput
with field(s):repository(Option<RepositoryDescription>)
:Information about the connected repository after processing the request.
- On failure, responds with
SdkError<AssociateExternalConnectionError>
sourcepub fn copy_package_versions(&self) -> CopyPackageVersions
pub fn copy_package_versions(&self) -> CopyPackageVersions
Constructs a fluent builder for the CopyPackageVersions
operation.
- The fluent builder is configurable:
domain(impl Into<String>)
/set_domain(Option<String>)
:The name of the domain that contains the source and destination repositories.
domain_owner(impl Into<String>)
/set_domain_owner(Option<String>)
:The 12-digit account number of the Amazon Web Services account that owns the domain. It does not include dashes or spaces.
source_repository(impl Into<String>)
/set_source_repository(Option<String>)
:The name of the repository that contains the package versions to copy.
destination_repository(impl Into<String>)
/set_destination_repository(Option<String>)
:The name of the repository into which package versions are copied.
format(PackageFormat)
/set_format(Option<PackageFormat>)
:The format of the package that is copied.
namespace(impl Into<String>)
/set_namespace(Option<String>)
:The namespace of the package. The package component that specifies its namespace depends on its type. For example:
-
The namespace of a Maven package is its
groupId
. -
The namespace of an npm package is its
scope
. -
A Python package does not contain a corresponding component, so Python packages do not have a namespace.
-
package(impl Into<String>)
/set_package(Option<String>)
:The name of the package that is copied.
versions(Vec<String>)
/set_versions(Option<Vec<String>>)
:The versions of the package to copy.
You must specify
versions
orversionRevisions
. You cannot specify both.version_revisions(HashMap<String, String>)
/set_version_revisions(Option<HashMap<String, String>>)
:A list of key-value pairs. The keys are package versions and the values are package version revisions. A
CopyPackageVersion
operation succeeds if the specified versions in the source repository match the specified package version revision.You must specify
versions
orversionRevisions
. You cannot specify both.allow_overwrite(bool)
/set_allow_overwrite(Option<bool>)
:Set to true to overwrite a package version that already exists in the destination repository. If set to false and the package version already exists in the destination repository, the package version is returned in the
failedVersions
field of the response with anALREADY_EXISTS
error code.include_from_upstream(bool)
/set_include_from_upstream(Option<bool>)
:Set to true to copy packages from repositories that are upstream from the source repository to the destination repository. The default setting is false. For more information, see Working with upstream repositories.
- On success, responds with
CopyPackageVersionsOutput
with field(s):successful_versions(Option<HashMap<String, SuccessfulPackageVersionInfo>>)
:A list of the package versions that were successfully copied to your repository.
failed_versions(Option<HashMap<String, PackageVersionError>>)
:A map of package versions that failed to copy and their error codes. The possible error codes are in the
PackageVersionError
data type. They are:-
ALREADY_EXISTS
-
MISMATCHED_REVISION
-
MISMATCHED_STATUS
-
NOT_ALLOWED
-
NOT_FOUND
-
SKIPPED
-
- On failure, responds with
SdkError<CopyPackageVersionsError>
sourcepub fn create_domain(&self) -> CreateDomain
pub fn create_domain(&self) -> CreateDomain
Constructs a fluent builder for the CreateDomain
operation.
- The fluent builder is configurable:
domain(impl Into<String>)
/set_domain(Option<String>)
:The name of the domain to create. All domain names in an Amazon Web Services Region that are in the same Amazon Web Services account must be unique. The domain name is used as the prefix in DNS hostnames. Do not use sensitive information in a domain name because it is publicly discoverable.
encryption_key(impl Into<String>)
/set_encryption_key(Option<String>)
:The encryption key for the domain. This is used to encrypt content stored in a domain. An encryption key can be a key ID, a key Amazon Resource Name (ARN), a key alias, or a key alias ARN. To specify an
encryptionKey
, your IAM role must havekms:DescribeKey
andkms:CreateGrant
permissions on the encryption key that is used. For more information, see DescribeKey in the Key Management Service API Reference and Key Management Service API Permissions Reference in the Key Management Service Developer Guide.CodeArtifact supports only symmetric CMKs. Do not associate an asymmetric CMK with your domain. For more information, see Using symmetric and asymmetric keys in the Key Management Service Developer Guide.
tags(Vec<Tag>)
/set_tags(Option<Vec<Tag>>)
:One or more tag key-value pairs for the domain.
- On success, responds with
CreateDomainOutput
with field(s):domain(Option<DomainDescription>)
:Contains information about the created domain after processing the request.
- On failure, responds with
SdkError<CreateDomainError>
sourcepub fn create_repository(&self) -> CreateRepository
pub fn create_repository(&self) -> CreateRepository
Constructs a fluent builder for the CreateRepository
operation.
- The fluent builder is configurable:
domain(impl Into<String>)
/set_domain(Option<String>)
:The name of the domain that contains the created repository.
domain_owner(impl Into<String>)
/set_domain_owner(Option<String>)
:The 12-digit account number of the Amazon Web Services account that owns the domain. It does not include dashes or spaces.
repository(impl Into<String>)
/set_repository(Option<String>)
:The name of the repository to create.
description(impl Into<String>)
/set_description(Option<String>)
:A description of the created repository.
upstreams(Vec<UpstreamRepository>)
/set_upstreams(Option<Vec<UpstreamRepository>>)
:A list of upstream repositories to associate with the repository. The order of the upstream repositories in the list determines their priority order when CodeArtifact looks for a requested package version. For more information, see Working with upstream repositories.
tags(Vec<Tag>)
/set_tags(Option<Vec<Tag>>)
:One or more tag key-value pairs for the repository.
- On success, responds with
CreateRepositoryOutput
with field(s):repository(Option<RepositoryDescription>)
:Information about the created repository after processing the request.
- On failure, responds with
SdkError<CreateRepositoryError>
sourcepub fn delete_domain(&self) -> DeleteDomain
pub fn delete_domain(&self) -> DeleteDomain
Constructs a fluent builder for the DeleteDomain
operation.
- The fluent builder is configurable:
domain(impl Into<String>)
/set_domain(Option<String>)
:The name of the domain to delete.
domain_owner(impl Into<String>)
/set_domain_owner(Option<String>)
:The 12-digit account number of the Amazon Web Services account that owns the domain. It does not include dashes or spaces.
- On success, responds with
DeleteDomainOutput
with field(s):domain(Option<DomainDescription>)
:Contains information about the deleted domain after processing the request.
- On failure, responds with
SdkError<DeleteDomainError>
sourcepub fn delete_domain_permissions_policy(&self) -> DeleteDomainPermissionsPolicy
pub fn delete_domain_permissions_policy(&self) -> DeleteDomainPermissionsPolicy
Constructs a fluent builder for the DeleteDomainPermissionsPolicy
operation.
- The fluent builder is configurable:
domain(impl Into<String>)
/set_domain(Option<String>)
:The name of the domain associated with the resource policy to be deleted.
domain_owner(impl Into<String>)
/set_domain_owner(Option<String>)
:The 12-digit account number of the Amazon Web Services account that owns the domain. It does not include dashes or spaces.
policy_revision(impl Into<String>)
/set_policy_revision(Option<String>)
:The current revision of the resource policy to be deleted. This revision is used for optimistic locking, which prevents others from overwriting your changes to the domain’s resource policy.
- On success, responds with
DeleteDomainPermissionsPolicyOutput
with field(s):policy(Option<ResourcePolicy>)
:Information about the deleted resource policy after processing the request.
- On failure, responds with
SdkError<DeleteDomainPermissionsPolicyError>
sourcepub fn delete_package_versions(&self) -> DeletePackageVersions
pub fn delete_package_versions(&self) -> DeletePackageVersions
Constructs a fluent builder for the DeletePackageVersions
operation.
- The fluent builder is configurable:
domain(impl Into<String>)
/set_domain(Option<String>)
:The name of the domain that contains the package to delete.
domain_owner(impl Into<String>)
/set_domain_owner(Option<String>)
:The 12-digit account number of the Amazon Web Services account that owns the domain. It does not include dashes or spaces.
repository(impl Into<String>)
/set_repository(Option<String>)
:The name of the repository that contains the package versions to delete.
format(PackageFormat)
/set_format(Option<PackageFormat>)
:The format of the package versions to delete.
namespace(impl Into<String>)
/set_namespace(Option<String>)
:The namespace of the package. The package component that specifies its namespace depends on its type. For example:
-
The namespace of a Maven package is its
groupId
. -
The namespace of an npm package is its
scope
. -
A Python package does not contain a corresponding component, so Python packages do not have a namespace.
-
package(impl Into<String>)
/set_package(Option<String>)
:The name of the package with the versions to delete.
versions(Vec<String>)
/set_versions(Option<Vec<String>>)
:An array of strings that specify the versions of the package to delete.
expected_status(PackageVersionStatus)
/set_expected_status(Option<PackageVersionStatus>)
:The expected status of the package version to delete.
- On success, responds with
DeletePackageVersionsOutput
with field(s):successful_versions(Option<HashMap<String, SuccessfulPackageVersionInfo>>)
:A list of the package versions that were successfully deleted. The status of every successful version will be
Deleted
.failed_versions(Option<HashMap<String, PackageVersionError>>)
:A
PackageVersionError
object that contains a map of errors codes for the deleted package that failed. The possible error codes are:-
ALREADY_EXISTS
-
MISMATCHED_REVISION
-
MISMATCHED_STATUS
-
NOT_ALLOWED
-
NOT_FOUND
-
SKIPPED
-
- On failure, responds with
SdkError<DeletePackageVersionsError>
sourcepub fn delete_repository(&self) -> DeleteRepository
pub fn delete_repository(&self) -> DeleteRepository
Constructs a fluent builder for the DeleteRepository
operation.
- The fluent builder is configurable:
domain(impl Into<String>)
/set_domain(Option<String>)
:The name of the domain that contains the repository to delete.
domain_owner(impl Into<String>)
/set_domain_owner(Option<String>)
:The 12-digit account number of the Amazon Web Services account that owns the domain. It does not include dashes or spaces.
repository(impl Into<String>)
/set_repository(Option<String>)
:The name of the repository to delete.
- On success, responds with
DeleteRepositoryOutput
with field(s):repository(Option<RepositoryDescription>)
:Information about the deleted repository after processing the request.
- On failure, responds with
SdkError<DeleteRepositoryError>
sourcepub fn delete_repository_permissions_policy(
&self
) -> DeleteRepositoryPermissionsPolicy
pub fn delete_repository_permissions_policy(
&self
) -> DeleteRepositoryPermissionsPolicy
Constructs a fluent builder for the DeleteRepositoryPermissionsPolicy
operation.
- The fluent builder is configurable:
domain(impl Into<String>)
/set_domain(Option<String>)
:The name of the domain that contains the repository associated with the resource policy to be deleted.
domain_owner(impl Into<String>)
/set_domain_owner(Option<String>)
:The 12-digit account number of the Amazon Web Services account that owns the domain. It does not include dashes or spaces.
repository(impl Into<String>)
/set_repository(Option<String>)
:The name of the repository that is associated with the resource policy to be deleted
policy_revision(impl Into<String>)
/set_policy_revision(Option<String>)
:The revision of the repository’s resource policy to be deleted. This revision is used for optimistic locking, which prevents others from accidentally overwriting your changes to the repository’s resource policy.
- On success, responds with
DeleteRepositoryPermissionsPolicyOutput
with field(s):policy(Option<ResourcePolicy>)
:Information about the deleted policy after processing the request.
- On failure, responds with
SdkError<DeleteRepositoryPermissionsPolicyError>
sourcepub fn describe_domain(&self) -> DescribeDomain
pub fn describe_domain(&self) -> DescribeDomain
Constructs a fluent builder for the DescribeDomain
operation.
- The fluent builder is configurable:
domain(impl Into<String>)
/set_domain(Option<String>)
:A string that specifies the name of the requested domain.
domain_owner(impl Into<String>)
/set_domain_owner(Option<String>)
:The 12-digit account number of the Amazon Web Services account that owns the domain. It does not include dashes or spaces.
- On success, responds with
DescribeDomainOutput
with field(s):domain(Option<DomainDescription>)
:Information about a domain. A domain is a container for repositories. When you create a domain, it is empty until you add one or more repositories.
- On failure, responds with
SdkError<DescribeDomainError>
sourcepub fn describe_package_version(&self) -> DescribePackageVersion
pub fn describe_package_version(&self) -> DescribePackageVersion
Constructs a fluent builder for the DescribePackageVersion
operation.
- The fluent builder is configurable:
domain(impl Into<String>)
/set_domain(Option<String>)
:The name of the domain that contains the repository that contains the package version.
domain_owner(impl Into<String>)
/set_domain_owner(Option<String>)
:The 12-digit account number of the Amazon Web Services account that owns the domain. It does not include dashes or spaces.
repository(impl Into<String>)
/set_repository(Option<String>)
:The name of the repository that contains the package version.
format(PackageFormat)
/set_format(Option<PackageFormat>)
:A format that specifies the type of the requested package version.
namespace(impl Into<String>)
/set_namespace(Option<String>)
:The namespace of the package. The package component that specifies its namespace depends on its type. For example:
-
The namespace of a Maven package is its
groupId
. -
The namespace of an npm package is its
scope
. -
A Python package does not contain a corresponding component, so Python packages do not have a namespace.
-
package(impl Into<String>)
/set_package(Option<String>)
:The name of the requested package version.
package_version(impl Into<String>)
/set_package_version(Option<String>)
:A string that contains the package version (for example,
3.5.2
).
- On success, responds with
DescribePackageVersionOutput
with field(s):package_version(Option<PackageVersionDescription>)
:A PackageVersionDescription object that contains information about the requested package version.
- On failure, responds with
SdkError<DescribePackageVersionError>
sourcepub fn describe_repository(&self) -> DescribeRepository
pub fn describe_repository(&self) -> DescribeRepository
Constructs a fluent builder for the DescribeRepository
operation.
- The fluent builder is configurable:
domain(impl Into<String>)
/set_domain(Option<String>)
:The name of the domain that contains the repository to describe.
domain_owner(impl Into<String>)
/set_domain_owner(Option<String>)
:The 12-digit account number of the Amazon Web Services account that owns the domain. It does not include dashes or spaces.
repository(impl Into<String>)
/set_repository(Option<String>)
:A string that specifies the name of the requested repository.
- On success, responds with
DescribeRepositoryOutput
with field(s):repository(Option<RepositoryDescription>)
:A
RepositoryDescription
object that contains the requested repository information.
- On failure, responds with
SdkError<DescribeRepositoryError>
sourcepub fn disassociate_external_connection(&self) -> DisassociateExternalConnection
pub fn disassociate_external_connection(&self) -> DisassociateExternalConnection
Constructs a fluent builder for the DisassociateExternalConnection
operation.
- The fluent builder is configurable:
domain(impl Into<String>)
/set_domain(Option<String>)
:The name of the domain that contains the repository from which to remove the external repository.
domain_owner(impl Into<String>)
/set_domain_owner(Option<String>)
:The 12-digit account number of the Amazon Web Services account that owns the domain. It does not include dashes or spaces.
repository(impl Into<String>)
/set_repository(Option<String>)
:The name of the repository from which the external connection will be removed.
external_connection(impl Into<String>)
/set_external_connection(Option<String>)
:The name of the external connection to be removed from the repository.
- On success, responds with
DisassociateExternalConnectionOutput
with field(s):repository(Option<RepositoryDescription>)
:The repository associated with the removed external connection.
- On failure, responds with
SdkError<DisassociateExternalConnectionError>
sourcepub fn dispose_package_versions(&self) -> DisposePackageVersions
pub fn dispose_package_versions(&self) -> DisposePackageVersions
Constructs a fluent builder for the DisposePackageVersions
operation.
- The fluent builder is configurable:
domain(impl Into<String>)
/set_domain(Option<String>)
:The name of the domain that contains the repository you want to dispose.
domain_owner(impl Into<String>)
/set_domain_owner(Option<String>)
:The 12-digit account number of the Amazon Web Services account that owns the domain. It does not include dashes or spaces.
repository(impl Into<String>)
/set_repository(Option<String>)
:The name of the repository that contains the package versions you want to dispose.
format(PackageFormat)
/set_format(Option<PackageFormat>)
:A format that specifies the type of package versions you want to dispose.
namespace(impl Into<String>)
/set_namespace(Option<String>)
:The namespace of the package. The package component that specifies its namespace depends on its type. For example:
-
The namespace of a Maven package is its
groupId
. -
The namespace of an npm package is its
scope
. -
A Python package does not contain a corresponding component, so Python packages do not have a namespace.
-
package(impl Into<String>)
/set_package(Option<String>)
:The name of the package with the versions you want to dispose.
versions(Vec<String>)
/set_versions(Option<Vec<String>>)
:The versions of the package you want to dispose.
version_revisions(HashMap<String, String>)
/set_version_revisions(Option<HashMap<String, String>>)
:The revisions of the package versions you want to dispose.
expected_status(PackageVersionStatus)
/set_expected_status(Option<PackageVersionStatus>)
:The expected status of the package version to dispose.
- On success, responds with
DisposePackageVersionsOutput
with field(s):successful_versions(Option<HashMap<String, SuccessfulPackageVersionInfo>>)
:A list of the package versions that were successfully disposed.
failed_versions(Option<HashMap<String, PackageVersionError>>)
:A
PackageVersionError
object that contains a map of errors codes for the disposed package versions that failed. The possible error codes are:-
ALREADY_EXISTS
-
MISMATCHED_REVISION
-
MISMATCHED_STATUS
-
NOT_ALLOWED
-
NOT_FOUND
-
SKIPPED
-
- On failure, responds with
SdkError<DisposePackageVersionsError>
Constructs a fluent builder for the GetAuthorizationToken
operation.
- The fluent builder is configurable:
domain(impl Into<String>)
/set_domain(Option<String>)
:The name of the domain that is in scope for the generated authorization token.
domain_owner(impl Into<String>)
/set_domain_owner(Option<String>)
:The 12-digit account number of the Amazon Web Services account that owns the domain. It does not include dashes or spaces.
duration_seconds(i64)
/set_duration_seconds(Option<i64>)
:The time, in seconds, that the generated authorization token is valid. Valid values are
0
and any number between900
(15 minutes) and43200
(12 hours). A value of0
will set the expiration of the authorization token to the same expiration of the user’s role’s temporary credentials.
- On success, responds with
GetAuthorizationTokenOutput
with field(s):authorization_token(Option<String>)
:The returned authentication token.
expiration(Option<DateTime>)
:A timestamp that specifies the date and time the authorization token expires.
- On failure, responds with
SdkError<GetAuthorizationTokenError>
sourcepub fn get_domain_permissions_policy(&self) -> GetDomainPermissionsPolicy
pub fn get_domain_permissions_policy(&self) -> GetDomainPermissionsPolicy
Constructs a fluent builder for the GetDomainPermissionsPolicy
operation.
- The fluent builder is configurable:
domain(impl Into<String>)
/set_domain(Option<String>)
:The name of the domain to which the resource policy is attached.
domain_owner(impl Into<String>)
/set_domain_owner(Option<String>)
:The 12-digit account number of the Amazon Web Services account that owns the domain. It does not include dashes or spaces.
- On success, responds with
GetDomainPermissionsPolicyOutput
with field(s):policy(Option<ResourcePolicy>)
:The returned resource policy.
- On failure, responds with
SdkError<GetDomainPermissionsPolicyError>
sourcepub fn get_package_version_asset(&self) -> GetPackageVersionAsset
pub fn get_package_version_asset(&self) -> GetPackageVersionAsset
Constructs a fluent builder for the GetPackageVersionAsset
operation.
- The fluent builder is configurable:
domain(impl Into<String>)
/set_domain(Option<String>)
:The name of the domain that contains the repository that contains the package version with the requested asset.
domain_owner(impl Into<String>)
/set_domain_owner(Option<String>)
:The 12-digit account number of the Amazon Web Services account that owns the domain. It does not include dashes or spaces.
repository(impl Into<String>)
/set_repository(Option<String>)
:The repository that contains the package version with the requested asset.
format(PackageFormat)
/set_format(Option<PackageFormat>)
:A format that specifies the type of the package version with the requested asset file.
namespace(impl Into<String>)
/set_namespace(Option<String>)
:The namespace of the package. The package component that specifies its namespace depends on its type. For example:
-
The namespace of a Maven package is its
groupId
. -
The namespace of an npm package is its
scope
. -
A Python package does not contain a corresponding component, so Python packages do not have a namespace.
-
package(impl Into<String>)
/set_package(Option<String>)
:The name of the package that contains the requested asset.
package_version(impl Into<String>)
/set_package_version(Option<String>)
:A string that contains the package version (for example,
3.5.2
).asset(impl Into<String>)
/set_asset(Option<String>)
:The name of the requested asset.
package_version_revision(impl Into<String>)
/set_package_version_revision(Option<String>)
:The name of the package version revision that contains the requested asset.
- On success, responds with
GetPackageVersionAssetOutput
with field(s):asset(byte_stream::ByteStream)
:The binary file, or asset, that is downloaded.
asset_name(Option<String>)
:The name of the asset that is downloaded.
package_version(Option<String>)
:A string that contains the package version (for example,
3.5.2
).package_version_revision(Option<String>)
:The name of the package version revision that contains the downloaded asset.
- On failure, responds with
SdkError<GetPackageVersionAssetError>
sourcepub fn get_package_version_readme(&self) -> GetPackageVersionReadme
pub fn get_package_version_readme(&self) -> GetPackageVersionReadme
Constructs a fluent builder for the GetPackageVersionReadme
operation.
- The fluent builder is configurable:
domain(impl Into<String>)
/set_domain(Option<String>)
:The name of the domain that contains the repository that contains the package version with the requested readme file.
domain_owner(impl Into<String>)
/set_domain_owner(Option<String>)
:The 12-digit account number of the Amazon Web Services account that owns the domain. It does not include dashes or spaces.
repository(impl Into<String>)
/set_repository(Option<String>)
:The repository that contains the package with the requested readme file.
format(PackageFormat)
/set_format(Option<PackageFormat>)
:A format that specifies the type of the package version with the requested readme file.
Although
maven
is listed as a valid value, CodeArtifact does not support displaying readme files for Maven packages.namespace(impl Into<String>)
/set_namespace(Option<String>)
:The namespace of the package. The package component that specifies its namespace depends on its type. For example:
-
The namespace of a Maven package is its
groupId
. -
The namespace of an npm package is its
scope
. -
A Python package does not contain a corresponding component, so Python packages do not have a namespace.
-
package(impl Into<String>)
/set_package(Option<String>)
:The name of the package version that contains the requested readme file.
package_version(impl Into<String>)
/set_package_version(Option<String>)
:A string that contains the package version (for example,
3.5.2
).
- On success, responds with
GetPackageVersionReadmeOutput
with field(s):format(Option<PackageFormat>)
:The format of the package with the requested readme file.
namespace(Option<String>)
:The namespace of the package. The package component that specifies its namespace depends on its type. For example:
-
The namespace of a Maven package is its
groupId
. -
The namespace of an npm package is its
scope
. -
A Python package does not contain a corresponding component, so Python packages do not have a namespace.
-
package(Option<String>)
:The name of the package that contains the returned readme file.
version(Option<String>)
:The version of the package with the requested readme file.
version_revision(Option<String>)
:The current revision associated with the package version.
readme(Option<String>)
:The text of the returned readme file.
- On failure, responds with
SdkError<GetPackageVersionReadmeError>
sourcepub fn get_repository_endpoint(&self) -> GetRepositoryEndpoint
pub fn get_repository_endpoint(&self) -> GetRepositoryEndpoint
Constructs a fluent builder for the GetRepositoryEndpoint
operation.
- The fluent builder is configurable:
domain(impl Into<String>)
/set_domain(Option<String>)
:The name of the domain that contains the repository.
domain_owner(impl Into<String>)
/set_domain_owner(Option<String>)
:The 12-digit account number of the Amazon Web Services account that owns the domain that contains the repository. It does not include dashes or spaces.
repository(impl Into<String>)
/set_repository(Option<String>)
:The name of the repository.
format(PackageFormat)
/set_format(Option<PackageFormat>)
:Returns which endpoint of a repository to return. A repository has one endpoint for each package format.
- On success, responds with
GetRepositoryEndpointOutput
with field(s):repository_endpoint(Option<String>)
:A string that specifies the URL of the returned endpoint.
- On failure, responds with
SdkError<GetRepositoryEndpointError>
sourcepub fn get_repository_permissions_policy(
&self
) -> GetRepositoryPermissionsPolicy
pub fn get_repository_permissions_policy(
&self
) -> GetRepositoryPermissionsPolicy
Constructs a fluent builder for the GetRepositoryPermissionsPolicy
operation.
- The fluent builder is configurable:
domain(impl Into<String>)
/set_domain(Option<String>)
:The name of the domain containing the repository whose associated resource policy is to be retrieved.
domain_owner(impl Into<String>)
/set_domain_owner(Option<String>)
:The 12-digit account number of the Amazon Web Services account that owns the domain. It does not include dashes or spaces.
repository(impl Into<String>)
/set_repository(Option<String>)
:The name of the repository whose associated resource policy is to be retrieved.
- On success, responds with
GetRepositoryPermissionsPolicyOutput
with field(s):policy(Option<ResourcePolicy>)
:The returned resource policy.
- On failure, responds with
SdkError<GetRepositoryPermissionsPolicyError>
sourcepub fn list_domains(&self) -> ListDomains
pub fn list_domains(&self) -> ListDomains
Constructs a fluent builder for the ListDomains
operation.
This operation supports pagination; See into_paginator()
.
- The fluent builder is configurable:
max_results(i32)
/set_max_results(Option<i32>)
:The maximum number of results to return per page.
next_token(impl Into<String>)
/set_next_token(Option<String>)
:The token for the next set of results. Use the value returned in the previous response in the next request to retrieve the next set of results.
- On success, responds with
ListDomainsOutput
with field(s):domains(Option<Vec<DomainSummary>>)
:The returned list of DomainSummary objects.
next_token(Option<String>)
:The token for the next set of results. Use the value returned in the previous response in the next request to retrieve the next set of results.
- On failure, responds with
SdkError<ListDomainsError>
sourcepub fn list_packages(&self) -> ListPackages
pub fn list_packages(&self) -> ListPackages
Constructs a fluent builder for the ListPackages
operation.
This operation supports pagination; See into_paginator()
.
- The fluent builder is configurable:
domain(impl Into<String>)
/set_domain(Option<String>)
:The name of the domain that contains the repository that contains the requested list of packages.
domain_owner(impl Into<String>)
/set_domain_owner(Option<String>)
:The 12-digit account number of the Amazon Web Services account that owns the domain. It does not include dashes or spaces.
repository(impl Into<String>)
/set_repository(Option<String>)
:The name of the repository from which packages are to be listed.
format(PackageFormat)
/set_format(Option<PackageFormat>)
:The format of the packages.
namespace(impl Into<String>)
/set_namespace(Option<String>)
:The namespace of the package. The package component that specifies its namespace depends on its type. For example:
-
The namespace of a Maven package is its
groupId
. -
The namespace of an npm package is its
scope
. -
A Python package does not contain a corresponding component, so Python packages do not have a namespace.
-
package_prefix(impl Into<String>)
/set_package_prefix(Option<String>)
:A prefix used to filter returned packages. Only packages with names that start with
packagePrefix
are returned.max_results(i32)
/set_max_results(Option<i32>)
:The maximum number of results to return per page.
next_token(impl Into<String>)
/set_next_token(Option<String>)
:The token for the next set of results. Use the value returned in the previous response in the next request to retrieve the next set of results.
- On success, responds with
ListPackagesOutput
with field(s):packages(Option<Vec<PackageSummary>>)
:The list of returned PackageSummary objects.
next_token(Option<String>)
:If there are additional results, this is the token for the next set of results.
- On failure, responds with
SdkError<ListPackagesError>
sourcepub fn list_package_version_assets(&self) -> ListPackageVersionAssets
pub fn list_package_version_assets(&self) -> ListPackageVersionAssets
Constructs a fluent builder for the ListPackageVersionAssets
operation.
This operation supports pagination; See into_paginator()
.
- The fluent builder is configurable:
domain(impl Into<String>)
/set_domain(Option<String>)
:The name of the domain that contains the repository associated with the package version assets.
domain_owner(impl Into<String>)
/set_domain_owner(Option<String>)
:The 12-digit account number of the Amazon Web Services account that owns the domain. It does not include dashes or spaces.
repository(impl Into<String>)
/set_repository(Option<String>)
:The name of the repository that contains the package that contains the returned package version assets.
format(PackageFormat)
/set_format(Option<PackageFormat>)
:The format of the package that contains the returned package version assets.
namespace(impl Into<String>)
/set_namespace(Option<String>)
:The namespace of the package. The package component that specifies its namespace depends on its type. For example:
-
The namespace of a Maven package is its
groupId
. -
The namespace of an npm package is its
scope
. -
A Python package does not contain a corresponding component, so Python packages do not have a namespace.
-
package(impl Into<String>)
/set_package(Option<String>)
:The name of the package that contains the returned package version assets.
package_version(impl Into<String>)
/set_package_version(Option<String>)
:A string that contains the package version (for example,
3.5.2
).max_results(i32)
/set_max_results(Option<i32>)
:The maximum number of results to return per page.
next_token(impl Into<String>)
/set_next_token(Option<String>)
:The token for the next set of results. Use the value returned in the previous response in the next request to retrieve the next set of results.
- On success, responds with
ListPackageVersionAssetsOutput
with field(s):format(Option<PackageFormat>)
:The format of the package that contains the returned package version assets.
namespace(Option<String>)
:The namespace of the package. The package component that specifies its namespace depends on its type. For example:
-
The namespace of a Maven package is its
groupId
. -
The namespace of an npm package is its
scope
. -
A Python package does not contain a corresponding component, so Python packages do not have a namespace.
-
package(Option<String>)
:The name of the package that contains the returned package version assets.
version(Option<String>)
:The version of the package associated with the returned assets.
version_revision(Option<String>)
:The current revision associated with the package version.
next_token(Option<String>)
:If there are additional results, this is the token for the next set of results.
assets(Option<Vec<AssetSummary>>)
:The returned list of AssetSummary objects.
- On failure, responds with
SdkError<ListPackageVersionAssetsError>
sourcepub fn list_package_version_dependencies(
&self
) -> ListPackageVersionDependencies
pub fn list_package_version_dependencies(
&self
) -> ListPackageVersionDependencies
Constructs a fluent builder for the ListPackageVersionDependencies
operation.
- The fluent builder is configurable:
domain(impl Into<String>)
/set_domain(Option<String>)
:The name of the domain that contains the repository that contains the requested package version dependencies.
domain_owner(impl Into<String>)
/set_domain_owner(Option<String>)
:The 12-digit account number of the Amazon Web Services account that owns the domain. It does not include dashes or spaces.
repository(impl Into<String>)
/set_repository(Option<String>)
:The name of the repository that contains the requested package version.
format(PackageFormat)
/set_format(Option<PackageFormat>)
:The format of the package with the requested dependencies.
namespace(impl Into<String>)
/set_namespace(Option<String>)
:The namespace of the package. The package component that specifies its namespace depends on its type. For example:
-
The namespace of a Maven package is its
groupId
. -
The namespace of an npm package is its
scope
. -
A Python package does not contain a corresponding component, so Python packages do not have a namespace.
-
package(impl Into<String>)
/set_package(Option<String>)
:The name of the package versions’ package.
package_version(impl Into<String>)
/set_package_version(Option<String>)
:A string that contains the package version (for example,
3.5.2
).next_token(impl Into<String>)
/set_next_token(Option<String>)
:The token for the next set of results. Use the value returned in the previous response in the next request to retrieve the next set of results.
- On success, responds with
ListPackageVersionDependenciesOutput
with field(s):format(Option<PackageFormat>)
:A format that specifies the type of the package that contains the returned dependencies.
namespace(Option<String>)
:The namespace of the package. The package component that specifies its namespace depends on its type. For example:
-
The namespace of a Maven package is its
groupId
. -
The namespace of an npm package is its
scope
. -
A Python package does not contain a corresponding component, so Python packages do not have a namespace.
-
package(Option<String>)
:The name of the package that contains the returned package versions dependencies.
version(Option<String>)
:The version of the package that is specified in the request.
version_revision(Option<String>)
:The current revision associated with the package version.
next_token(Option<String>)
:The token for the next set of results. Use the value returned in the previous response in the next request to retrieve the next set of results.
dependencies(Option<Vec<PackageDependency>>)
:The returned list of PackageDependency objects.
- On failure, responds with
SdkError<ListPackageVersionDependenciesError>
sourcepub fn list_package_versions(&self) -> ListPackageVersions
pub fn list_package_versions(&self) -> ListPackageVersions
Constructs a fluent builder for the ListPackageVersions
operation.
This operation supports pagination; See into_paginator()
.
- The fluent builder is configurable:
domain(impl Into<String>)
/set_domain(Option<String>)
:The name of the domain that contains the repository that contains the returned package versions.
domain_owner(impl Into<String>)
/set_domain_owner(Option<String>)
:The 12-digit account number of the Amazon Web Services account that owns the domain. It does not include dashes or spaces.
repository(impl Into<String>)
/set_repository(Option<String>)
:The name of the repository that contains the package.
format(PackageFormat)
/set_format(Option<PackageFormat>)
:The format of the returned packages.
namespace(impl Into<String>)
/set_namespace(Option<String>)
:The namespace of the package. The package component that specifies its namespace depends on its type. For example:
-
The namespace of a Maven package is its
groupId
. -
The namespace of an npm package is its
scope
. -
A Python package does not contain a corresponding component, so Python packages do not have a namespace.
-
package(impl Into<String>)
/set_package(Option<String>)
:The name of the package for which you want to return a list of package versions.
status(PackageVersionStatus)
/set_status(Option<PackageVersionStatus>)
:A string that specifies the status of the package versions to include in the returned list.
sort_by(PackageVersionSortType)
/set_sort_by(Option<PackageVersionSortType>)
:How to sort the returned list of package versions.
max_results(i32)
/set_max_results(Option<i32>)
:The maximum number of results to return per page.
next_token(impl Into<String>)
/set_next_token(Option<String>)
:The token for the next set of results. Use the value returned in the previous response in the next request to retrieve the next set of results.
- On success, responds with
ListPackageVersionsOutput
with field(s):default_display_version(Option<String>)
:The default package version to display. This depends on the package format:
-
For Maven and PyPI packages, it’s the most recently published package version.
-
For npm packages, it’s the version referenced by the
latest
tag. If thelatest
tag is not set, it’s the most recently published package version.
-
format(Option<PackageFormat>)
:A format of the package.
namespace(Option<String>)
:The namespace of the package. The package component that specifies its namespace depends on its type. For example:
-
The namespace of a Maven package is its
groupId
. -
The namespace of an npm package is its
scope
. -
A Python package does not contain a corresponding component, so Python packages do not have a namespace.
-
package(Option<String>)
:The name of the package.
versions(Option<Vec<PackageVersionSummary>>)
:The returned list of PackageVersionSummary objects.
next_token(Option<String>)
:If there are additional results, this is the token for the next set of results.
- On failure, responds with
SdkError<ListPackageVersionsError>
sourcepub fn list_repositories(&self) -> ListRepositories
pub fn list_repositories(&self) -> ListRepositories
Constructs a fluent builder for the ListRepositories
operation.
This operation supports pagination; See into_paginator()
.
- The fluent builder is configurable:
repository_prefix(impl Into<String>)
/set_repository_prefix(Option<String>)
:A prefix used to filter returned repositories. Only repositories with names that start with
repositoryPrefix
are returned.max_results(i32)
/set_max_results(Option<i32>)
:The maximum number of results to return per page.
next_token(impl Into<String>)
/set_next_token(Option<String>)
:The token for the next set of results. Use the value returned in the previous response in the next request to retrieve the next set of results.
- On success, responds with
ListRepositoriesOutput
with field(s):repositories(Option<Vec<RepositorySummary>>)
:The returned list of RepositorySummary objects.
next_token(Option<String>)
:If there are additional results, this is the token for the next set of results.
- On failure, responds with
SdkError<ListRepositoriesError>
sourcepub fn list_repositories_in_domain(&self) -> ListRepositoriesInDomain
pub fn list_repositories_in_domain(&self) -> ListRepositoriesInDomain
Constructs a fluent builder for the ListRepositoriesInDomain
operation.
This operation supports pagination; See into_paginator()
.
- The fluent builder is configurable:
domain(impl Into<String>)
/set_domain(Option<String>)
:The name of the domain that contains the returned list of repositories.
domain_owner(impl Into<String>)
/set_domain_owner(Option<String>)
:The 12-digit account number of the Amazon Web Services account that owns the domain. It does not include dashes or spaces.
administrator_account(impl Into<String>)
/set_administrator_account(Option<String>)
:Filter the list of repositories to only include those that are managed by the Amazon Web Services account ID.
repository_prefix(impl Into<String>)
/set_repository_prefix(Option<String>)
:A prefix used to filter returned repositories. Only repositories with names that start with
repositoryPrefix
are returned.max_results(i32)
/set_max_results(Option<i32>)
:The maximum number of results to return per page.
next_token(impl Into<String>)
/set_next_token(Option<String>)
:The token for the next set of results. Use the value returned in the previous response in the next request to retrieve the next set of results.
- On success, responds with
ListRepositoriesInDomainOutput
with field(s):repositories(Option<Vec<RepositorySummary>>)
:The returned list of repositories.
next_token(Option<String>)
:If there are additional results, this is the token for the next set of results.
- On failure, responds with
SdkError<ListRepositoriesInDomainError>
Constructs a fluent builder for the ListTagsForResource
operation.
- The fluent builder is configurable:
resource_arn(impl Into<String>)
/set_resource_arn(Option<String>)
:The Amazon Resource Name (ARN) of the resource to get tags for.
- On success, responds with
ListTagsForResourceOutput
with field(s):tags(Option<Vec<Tag>>)
:A list of tag key and value pairs associated with the specified resource.
- On failure, responds with
SdkError<ListTagsForResourceError>
sourcepub fn put_domain_permissions_policy(&self) -> PutDomainPermissionsPolicy
pub fn put_domain_permissions_policy(&self) -> PutDomainPermissionsPolicy
Constructs a fluent builder for the PutDomainPermissionsPolicy
operation.
- The fluent builder is configurable:
domain(impl Into<String>)
/set_domain(Option<String>)
:The name of the domain on which to set the resource policy.
domain_owner(impl Into<String>)
/set_domain_owner(Option<String>)
:The 12-digit account number of the Amazon Web Services account that owns the domain. It does not include dashes or spaces.
policy_revision(impl Into<String>)
/set_policy_revision(Option<String>)
:The current revision of the resource policy to be set. This revision is used for optimistic locking, which prevents others from overwriting your changes to the domain’s resource policy.
policy_document(impl Into<String>)
/set_policy_document(Option<String>)
:A valid displayable JSON Aspen policy string to be set as the access control resource policy on the provided domain.
- On success, responds with
PutDomainPermissionsPolicyOutput
with field(s):policy(Option<ResourcePolicy>)
:The resource policy that was set after processing the request.
- On failure, responds with
SdkError<PutDomainPermissionsPolicyError>
sourcepub fn put_repository_permissions_policy(
&self
) -> PutRepositoryPermissionsPolicy
pub fn put_repository_permissions_policy(
&self
) -> PutRepositoryPermissionsPolicy
Constructs a fluent builder for the PutRepositoryPermissionsPolicy
operation.
- The fluent builder is configurable:
domain(impl Into<String>)
/set_domain(Option<String>)
:The name of the domain containing the repository to set the resource policy on.
domain_owner(impl Into<String>)
/set_domain_owner(Option<String>)
:The 12-digit account number of the Amazon Web Services account that owns the domain. It does not include dashes or spaces.
repository(impl Into<String>)
/set_repository(Option<String>)
:The name of the repository to set the resource policy on.
policy_revision(impl Into<String>)
/set_policy_revision(Option<String>)
:Sets the revision of the resource policy that specifies permissions to access the repository. This revision is used for optimistic locking, which prevents others from overwriting your changes to the repository’s resource policy.
policy_document(impl Into<String>)
/set_policy_document(Option<String>)
:A valid displayable JSON Aspen policy string to be set as the access control resource policy on the provided repository.
- On success, responds with
PutRepositoryPermissionsPolicyOutput
with field(s):policy(Option<ResourcePolicy>)
:The resource policy that was set after processing the request.
- On failure, responds with
SdkError<PutRepositoryPermissionsPolicyError>
sourcepub fn tag_resource(&self) -> TagResource
pub fn tag_resource(&self) -> TagResource
Constructs a fluent builder for the TagResource
operation.
- The fluent builder is configurable:
resource_arn(impl Into<String>)
/set_resource_arn(Option<String>)
:The Amazon Resource Name (ARN) of the resource that you want to add or update tags for.
tags(Vec<Tag>)
/set_tags(Option<Vec<Tag>>)
:The tags you want to modify or add to the resource.
- On success, responds with
TagResourceOutput
- On failure, responds with
SdkError<TagResourceError>
sourcepub fn untag_resource(&self) -> UntagResource
pub fn untag_resource(&self) -> UntagResource
Constructs a fluent builder for the UntagResource
operation.
- The fluent builder is configurable:
resource_arn(impl Into<String>)
/set_resource_arn(Option<String>)
:The Amazon Resource Name (ARN) of the resource that you want to remove tags from.
tag_keys(Vec<String>)
/set_tag_keys(Option<Vec<String>>)
:The tag key for each tag that you want to remove from the resource.
- On success, responds with
UntagResourceOutput
- On failure, responds with
SdkError<UntagResourceError>
sourcepub fn update_package_versions_status(&self) -> UpdatePackageVersionsStatus
pub fn update_package_versions_status(&self) -> UpdatePackageVersionsStatus
Constructs a fluent builder for the UpdatePackageVersionsStatus
operation.
- The fluent builder is configurable:
domain(impl Into<String>)
/set_domain(Option<String>)
:The name of the domain that contains the repository that contains the package versions with a status to be updated.
domain_owner(impl Into<String>)
/set_domain_owner(Option<String>)
:The 12-digit account number of the Amazon Web Services account that owns the domain. It does not include dashes or spaces.
repository(impl Into<String>)
/set_repository(Option<String>)
:The repository that contains the package versions with the status you want to update.
format(PackageFormat)
/set_format(Option<PackageFormat>)
:A format that specifies the type of the package with the statuses to update.
namespace(impl Into<String>)
/set_namespace(Option<String>)
:The namespace of the package. The package component that specifies its namespace depends on its type. For example:
-
The namespace of a Maven package is its
groupId
. -
The namespace of an npm package is its
scope
. -
A Python package does not contain a corresponding component, so Python packages do not have a namespace.
-
package(impl Into<String>)
/set_package(Option<String>)
:The name of the package with the version statuses to update.
versions(Vec<String>)
/set_versions(Option<Vec<String>>)
:An array of strings that specify the versions of the package with the statuses to update.
version_revisions(HashMap<String, String>)
/set_version_revisions(Option<HashMap<String, String>>)
:A map of package versions and package version revisions. The map
key
is the package version (for example,3.5.2
), and the mapvalue
is the package version revision.expected_status(PackageVersionStatus)
/set_expected_status(Option<PackageVersionStatus>)
:The package version’s expected status before it is updated. If
expectedStatus
is provided, the package version’s status is updated only if its status at the timeUpdatePackageVersionsStatus
is called matchesexpectedStatus
.target_status(PackageVersionStatus)
/set_target_status(Option<PackageVersionStatus>)
:The status you want to change the package version status to.
- On success, responds with
UpdatePackageVersionsStatusOutput
with field(s):successful_versions(Option<HashMap<String, SuccessfulPackageVersionInfo>>)
:A list of
PackageVersionError
objects, one for each package version with a status that failed to update.failed_versions(Option<HashMap<String, PackageVersionError>>)
:A list of
SuccessfulPackageVersionInfo
objects, one for each package version with a status that successfully updated.
- On failure, responds with
SdkError<UpdatePackageVersionsStatusError>
sourcepub fn update_repository(&self) -> UpdateRepository
pub fn update_repository(&self) -> UpdateRepository
Constructs a fluent builder for the UpdateRepository
operation.
- The fluent builder is configurable:
domain(impl Into<String>)
/set_domain(Option<String>)
:The name of the domain associated with the repository to update.
domain_owner(impl Into<String>)
/set_domain_owner(Option<String>)
:The 12-digit account number of the Amazon Web Services account that owns the domain. It does not include dashes or spaces.
repository(impl Into<String>)
/set_repository(Option<String>)
:The name of the repository to update.
description(impl Into<String>)
/set_description(Option<String>)
:An updated repository description.
upstreams(Vec<UpstreamRepository>)
/set_upstreams(Option<Vec<UpstreamRepository>>)
:A list of upstream repositories to associate with the repository. The order of the upstream repositories in the list determines their priority order when CodeArtifact looks for a requested package version. For more information, see Working with upstream repositories.
- On success, responds with
UpdateRepositoryOutput
with field(s):repository(Option<RepositoryDescription>)
:The updated repository.
- On failure, responds with
SdkError<UpdateRepositoryError>
sourceimpl Client
impl Client
sourcepub fn from_conf_conn<C, E>(conf: Config, conn: C) -> Self where
C: SmithyConnector<Error = E> + Send + 'static,
E: Into<ConnectorError>,
pub fn from_conf_conn<C, E>(conf: Config, conn: C) -> Self where
C: SmithyConnector<Error = E> + Send + 'static,
E: Into<ConnectorError>,
Creates a client with the given service config and connector override.
Trait Implementations
sourceimpl From<Client<DynConnector, DynMiddleware<DynConnector>, Standard>> for Client
impl From<Client<DynConnector, DynMiddleware<DynConnector>, Standard>> for Client
sourcefn from(client: Client<DynConnector, DynMiddleware<DynConnector>>) -> Self
fn from(client: Client<DynConnector, DynMiddleware<DynConnector>>) -> Self
Converts to this type from the input type.
Auto Trait Implementations
impl !RefUnwindSafe for Client
impl Send for Client
impl Sync for Client
impl Unpin for Client
impl !UnwindSafe for Client
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more