[][src]Struct rusoto_servicediscovery::Service

pub struct Service {
    pub arn: Option<String>,
    pub create_date: Option<f64>,
    pub creator_request_id: Option<String>,
    pub description: Option<String>,
    pub dns_config: Option<DnsConfig>,
    pub health_check_config: Option<HealthCheckConfig>,
    pub health_check_custom_config: Option<HealthCheckCustomConfig>,
    pub id: Option<String>,
    pub instance_count: Option<i64>,
    pub name: Option<String>,
    pub namespace_id: Option<String>,
}

A complex type that contains information about the specified service.

Fields

arn: Option<String>

The Amazon Resource Name (ARN) that AWS Cloud Map assigns to the service when you create it.

create_date: Option<f64>

The date and time that the service was created, in Unix format and Coordinated Universal Time (UTC). The value of CreateDate is accurate to milliseconds. For example, the value 1516925490.087 represents Friday, January 26, 2018 12:11:30.087 AM.

creator_request_id: Option<String>

A unique string that identifies the request and that allows failed requests to be retried without the risk of executing the operation twice. CreatorRequestId can be any unique string, for example, a date/time stamp.

description: Option<String>

The description of the service.

dns_config: Option<DnsConfig>

A complex type that contains information about the Route 53 DNS records that you want AWS Cloud Map to create when you register an instance.

health_check_config: Option<HealthCheckConfig>

Public DNS namespaces only. A complex type that contains settings for an optional health check. If you specify settings for a health check, AWS Cloud Map associates the health check with the records that you specify in DnsConfig.

For information about the charges for health checks, see Amazon Route 53 Pricing.

health_check_custom_config: Option<HealthCheckCustomConfig>

A complex type that contains information about an optional custom health check.

If you specify a health check configuration, you can specify either HealthCheckCustomConfig or HealthCheckConfig but not both.

id: Option<String>

The ID that AWS Cloud Map assigned to the service when you created it.

instance_count: Option<i64>

The number of instances that are currently associated with the service. Instances that were previously associated with the service but that have been deleted are not included in the count.

name: Option<String>

The name of the service.

namespace_id: Option<String>

The ID of the namespace that was used to create the service.

Trait Implementations

impl Clone for Service[src]

fn clone_from(&mut self, source: &Self)
1.0.0
[src]

Performs copy-assignment from source. Read more

impl PartialEq<Service> for Service[src]

impl Default for Service[src]

impl Debug for Service[src]

impl<'de> Deserialize<'de> for Service[src]

Auto Trait Implementations

impl Send for Service

impl Sync for Service

Blanket Implementations

impl<T> From for T[src]

impl<T, U> Into for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

impl<T, U> TryFrom for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T> Borrow for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> BorrowMut for T where
    T: ?Sized
[src]

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> DeserializeOwned for T where
    T: Deserialize<'de>, 
[src]

impl<T> Erased for T

impl<T> Same for T

type Output = T

Should always be Self