AWS SDK for Go (PILOT)
API Reference

PREVIEW DOCUMENTATION - This is a preview of a new format for the AWS SDK for Go API Reference documentation. For the current AWS SDK for Go API Reference, see https://docs.aws.amazon.com/sdk-for-go/api/.

We welcome your feedback on this new version of the documentation. Send your comments to aws-sdkdocs-feedback@amazon.com.

NamespaceSummary

import "github.com/aws/aws-sdk-go/service/servicediscovery"

type NamespaceSummary struct { Arn *string `type:"string"` CreateDate *time.Time `type:"timestamp"` Description *string `type:"string"` Id *string `type:"string"` Name *string `type:"string"` Properties *NamespaceProperties `type:"structure"` ServiceCount *int64 `type:"integer"` Type *string `type:"string" enum:"NamespaceType"` }

A complex type that contains information about a namespace.

Arn

Type: *string

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

CreateDate

Type: *time.Time

The date and time that the namespace was created.

Description

Type: *string

A description for the namespace.

Id

Type: *string

The ID of the namespace.

Name

Type: *string

The name of the namespace. When you create a namespace, AWS Cloud Map automatically creates a Route 53 hosted zone that has the same name as the namespace.

Properties

A complex type that contains information that is specific to the namespace type.

ServiceCount

Type: *int64

The number of services that were created using the namespace.

Type

Type: *string

The type of the namespace, either public or private.

Method

GoString

func (s NamespaceSummary) GoString() string

GoString returns the string representation

SetArn

func (s *NamespaceSummary) SetArn(v string) *NamespaceSummary

SetArn sets the Arn field's value.

SetCreateDate

func (s *NamespaceSummary) SetCreateDate(v time.Time) *NamespaceSummary

SetCreateDate sets the CreateDate field's value.

SetDescription

func (s *NamespaceSummary) SetDescription(v string) *NamespaceSummary

SetDescription sets the Description field's value.

SetId

func (s *NamespaceSummary) SetId(v string) *NamespaceSummary

SetId sets the Id field's value.

SetName

func (s *NamespaceSummary) SetName(v string) *NamespaceSummary

SetName sets the Name field's value.

SetProperties

func (s *NamespaceSummary) SetProperties(v *NamespaceProperties) *NamespaceSummary

SetProperties sets the Properties field's value.

SetServiceCount

func (s *NamespaceSummary) SetServiceCount(v int64) *NamespaceSummary

SetServiceCount sets the ServiceCount field's value.

SetType

func (s *NamespaceSummary) SetType(v string) *NamespaceSummary

SetType sets the Type field's value.

String

func (s NamespaceSummary) String() string

String returns the string representation

On this page: