pub struct Client<C = DynConnector, M = DefaultMiddleware, R = Standard> { /* private fields */ }
Expand description

Client for AWS CodeStar

Client for invoking operations on AWS CodeStar. Each operation on AWS CodeStar 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_codestar::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_codestar::config::Builder::from(&shared_config)
        .retry_config(RetryConfig::disabled())
        .build();
    let client = aws_sdk_codestar::Client::from_conf(config);

Implementations

Creates a client with the given service configuration.

Returns the client’s configuration.

Constructs a fluent builder for the AssociateTeamMember operation.

Constructs a fluent builder for the CreateProject operation.

Constructs a fluent builder for the CreateUserProfile operation.

Constructs a fluent builder for the DeleteProject operation.

Constructs a fluent builder for the DeleteUserProfile operation.

Constructs a fluent builder for the DescribeProject operation.

Constructs a fluent builder for the DescribeUserProfile operation.

  • The fluent builder is configurable:
  • On success, responds with DescribeUserProfileOutput with field(s):
    • user_arn(Option<String>):

      The Amazon Resource Name (ARN) of the user.

    • display_name(Option<String>):

      The display name shown for the user in AWS CodeStar projects. For example, this could be set to both first and last name (“Mary Major”) or a single name (“Mary”). The display name is also used to generate the initial icon associated with the user in AWS CodeStar projects. If spaces are included in the display name, the first character that appears after the space will be used as the second character in the user initial icon. The initial icon displays a maximum of two characters, so a display name with more than one space (for example “Mary Jane Major”) would generate an initial icon using the first character and the first character after the space (“MJ”, not “MM”).

    • email_address(Option<String>):

      The email address for the user. Optional.

    • ssh_public_key(Option<String>):

      The SSH public key associated with the user. This SSH public key is associated with the user profile, and can be used in conjunction with the associated private key for access to project resources, such as Amazon EC2 instances, if a project owner grants remote access to those resources.

    • created_timestamp(Option<DateTime>):

      The date and time when the user profile was created in AWS CodeStar, in timestamp format.

    • last_modified_timestamp(Option<DateTime>):

      The date and time when the user profile was last modified, in timestamp format.

  • On failure, responds with SdkError<DescribeUserProfileError>

Constructs a fluent builder for the DisassociateTeamMember operation.

Constructs a fluent builder for the ListProjects operation.

Constructs a fluent builder for the ListResources operation.

Constructs a fluent builder for the ListTagsForProject operation.

Constructs a fluent builder for the ListTeamMembers operation.

Constructs a fluent builder for the ListUserProfiles operation.

Constructs a fluent builder for the TagProject operation.

Constructs a fluent builder for the UntagProject operation.

Constructs a fluent builder for the UpdateProject operation.

Constructs a fluent builder for the UpdateTeamMember operation.

Constructs a fluent builder for the UpdateUserProfile operation.

Creates a client with the given service config and connector override.

Creates a new client from a shared config.

Creates a new client from the service Config.

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Performs the conversion.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Performs the conversion.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more