nas

package
v0.0.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 22, 2018 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Overview

Package nas provides the client and types for making API requests to NIFCLOUD NAS.

See https://docs.aws.amazon.com/goto/WebAPI/nas-N2016-02-24 for more information on this service.

See nas package documentation for more information. https://docs.aws.amazon.com/sdk-for-go/api/service/nas/

Using the Client

To contact NIFCLOUD NAS with the SDK use the New function to create a new service client. With that client you can make API requests to the service. These clients are safe to use concurrently.

See the SDK's documentation for more information on how to use the SDK. https://docs.aws.amazon.com/sdk-for-go/api/

See nifcloud.Config documentation for more information on configuring SDK clients. https://docs.aws.amazon.com/sdk-for-go/api/nifcloud/#Config

See the NIFCLOUD NAS client Nas for more information on creating client for this service. https://docs.aws.amazon.com/sdk-for-go/api/service/nas/#New

Index

Constants

View Source
const (
	ServiceName = "nas"       // Service endpoint prefix API calls made to.
	EndpointsID = ServiceName // Service ID for Regions and Endpoints metadata.
)

Service information constants

Variables

This section is empty.

Functions

This section is empty.

Types

type AuthorizeNASSecurityGroupIngressInput

type AuthorizeNASSecurityGroupIngressInput struct {
	CIDRIP *string `locationName:"CIDRIP" type:"string"`

	NASSecurityGroupName *string `locationName:"NASSecurityGroupName" type:"string"`

	SecurityGroupName *string `locationName:"SecurityGroupName" type:"string"`
	// contains filtered or unexported fields
}

func (AuthorizeNASSecurityGroupIngressInput) GoString

GoString returns the string representation

func (*AuthorizeNASSecurityGroupIngressInput) SetCIDRIP

SetCIDRIP sets the CIDRIP field's value.

func (*AuthorizeNASSecurityGroupIngressInput) SetNASSecurityGroupName

SetNASSecurityGroupName sets the NASSecurityGroupName field's value.

func (*AuthorizeNASSecurityGroupIngressInput) SetSecurityGroupName

SetSecurityGroupName sets the SecurityGroupName field's value.

func (AuthorizeNASSecurityGroupIngressInput) String

String returns the string representation

type AuthorizeNASSecurityGroupIngressOutput

type AuthorizeNASSecurityGroupIngressOutput struct {
	NASSecurityGroup *NASSecurityGroup `type:"structure"`
	// contains filtered or unexported fields
}

func (AuthorizeNASSecurityGroupIngressOutput) GoString

GoString returns the string representation

func (*AuthorizeNASSecurityGroupIngressOutput) SetNASSecurityGroup

SetNASSecurityGroup sets the NASSecurityGroup field's value.

func (AuthorizeNASSecurityGroupIngressOutput) String

String returns the string representation

type CreateNASInstanceInput

type CreateNASInstanceInput struct {
	AllocatedStorage *int64 `locationName:"AllocatedStorage" type:"integer"`

	AvailabilityZone *string `locationName:"AvailabilityZone" type:"string"`

	MasterPrivateAddress *string `locationName:"MasterPrivateAddress" type:"string"`

	MasterUserPassword *string `locationName:"MasterUserPassword" type:"string"`

	MasterUsername *string `locationName:"MasterUsername" type:"string"`

	NASInstanceDescription *string `locationName:"NASInstanceDescription" type:"string"`

	NASInstanceIdentifier *string `locationName:"NASInstanceIdentifier" type:"string"`

	NASInstanceType *int64 `locationName:"NASInstanceType" type:"integer"`

	NASSecurityGroups []*string `locationName:"NASSecurityGroups" locationNameList:"member" type:"list"`

	NetworkId *string `locationName:"NetworkId" type:"string"`

	Protocol *string `locationName:"Protocol" type:"string"`
	// contains filtered or unexported fields
}

func (CreateNASInstanceInput) GoString

func (s CreateNASInstanceInput) GoString() string

GoString returns the string representation

func (*CreateNASInstanceInput) SetAllocatedStorage

func (s *CreateNASInstanceInput) SetAllocatedStorage(v int64) *CreateNASInstanceInput

SetAllocatedStorage sets the AllocatedStorage field's value.

func (*CreateNASInstanceInput) SetAvailabilityZone

func (s *CreateNASInstanceInput) SetAvailabilityZone(v string) *CreateNASInstanceInput

SetAvailabilityZone sets the AvailabilityZone field's value.

func (*CreateNASInstanceInput) SetMasterPrivateAddress

func (s *CreateNASInstanceInput) SetMasterPrivateAddress(v string) *CreateNASInstanceInput

SetMasterPrivateAddress sets the MasterPrivateAddress field's value.

func (*CreateNASInstanceInput) SetMasterUserPassword

func (s *CreateNASInstanceInput) SetMasterUserPassword(v string) *CreateNASInstanceInput

SetMasterUserPassword sets the MasterUserPassword field's value.

func (*CreateNASInstanceInput) SetMasterUsername

func (s *CreateNASInstanceInput) SetMasterUsername(v string) *CreateNASInstanceInput

SetMasterUsername sets the MasterUsername field's value.

func (*CreateNASInstanceInput) SetNASInstanceDescription

func (s *CreateNASInstanceInput) SetNASInstanceDescription(v string) *CreateNASInstanceInput

SetNASInstanceDescription sets the NASInstanceDescription field's value.

func (*CreateNASInstanceInput) SetNASInstanceIdentifier

func (s *CreateNASInstanceInput) SetNASInstanceIdentifier(v string) *CreateNASInstanceInput

SetNASInstanceIdentifier sets the NASInstanceIdentifier field's value.

func (*CreateNASInstanceInput) SetNASInstanceType

func (s *CreateNASInstanceInput) SetNASInstanceType(v int64) *CreateNASInstanceInput

SetNASInstanceType sets the NASInstanceType field's value.

func (*CreateNASInstanceInput) SetNASSecurityGroups

func (s *CreateNASInstanceInput) SetNASSecurityGroups(v []*string) *CreateNASInstanceInput

SetNASSecurityGroups sets the NASSecurityGroups field's value.

func (*CreateNASInstanceInput) SetNetworkId

SetNetworkId sets the NetworkId field's value.

func (*CreateNASInstanceInput) SetProtocol

SetProtocol sets the Protocol field's value.

func (CreateNASInstanceInput) String

func (s CreateNASInstanceInput) String() string

String returns the string representation

type CreateNASInstanceOutput

type CreateNASInstanceOutput struct {
	NASInstance *NASInstance `type:"structure"`
	// contains filtered or unexported fields
}

func (CreateNASInstanceOutput) GoString

func (s CreateNASInstanceOutput) GoString() string

GoString returns the string representation

func (*CreateNASInstanceOutput) SetNASInstance

SetNASInstance sets the NASInstance field's value.

func (CreateNASInstanceOutput) String

func (s CreateNASInstanceOutput) String() string

String returns the string representation

type CreateNASSecurityGroupInput

type CreateNASSecurityGroupInput struct {
	AvailabilityZone *string `locationName:"AvailabilityZone" type:"string"`

	NASSecurityGroupDescription *string `locationName:"NASSecurityGroupDescription" type:"string"`

	NASSecurityGroupName *string `locationName:"NASSecurityGroupName" type:"string"`
	// contains filtered or unexported fields
}

func (CreateNASSecurityGroupInput) GoString

func (s CreateNASSecurityGroupInput) GoString() string

GoString returns the string representation

func (*CreateNASSecurityGroupInput) SetAvailabilityZone

SetAvailabilityZone sets the AvailabilityZone field's value.

func (*CreateNASSecurityGroupInput) SetNASSecurityGroupDescription

func (s *CreateNASSecurityGroupInput) SetNASSecurityGroupDescription(v string) *CreateNASSecurityGroupInput

SetNASSecurityGroupDescription sets the NASSecurityGroupDescription field's value.

func (*CreateNASSecurityGroupInput) SetNASSecurityGroupName

func (s *CreateNASSecurityGroupInput) SetNASSecurityGroupName(v string) *CreateNASSecurityGroupInput

SetNASSecurityGroupName sets the NASSecurityGroupName field's value.

func (CreateNASSecurityGroupInput) String

String returns the string representation

type CreateNASSecurityGroupOutput

type CreateNASSecurityGroupOutput struct {
	NASSecurityGroup *NASSecurityGroup `type:"structure"`
	// contains filtered or unexported fields
}

func (CreateNASSecurityGroupOutput) GoString

func (s CreateNASSecurityGroupOutput) GoString() string

GoString returns the string representation

func (*CreateNASSecurityGroupOutput) SetNASSecurityGroup

SetNASSecurityGroup sets the NASSecurityGroup field's value.

func (CreateNASSecurityGroupOutput) String

String returns the string representation

type DeleteNASInstanceInput

type DeleteNASInstanceInput struct {
	DirectoryServiceAdministratorName *string `locationName:"DirectoryServiceAdministratorName" type:"string"`

	DirectoryServiceAdministratorPassword *string `locationName:"DirectoryServiceAdministratorPassword" type:"string"`

	NASInstanceIdentifier *string `locationName:"NASInstanceIdentifier" type:"string"`
	// contains filtered or unexported fields
}

func (DeleteNASInstanceInput) GoString

func (s DeleteNASInstanceInput) GoString() string

GoString returns the string representation

func (*DeleteNASInstanceInput) SetDirectoryServiceAdministratorName

func (s *DeleteNASInstanceInput) SetDirectoryServiceAdministratorName(v string) *DeleteNASInstanceInput

SetDirectoryServiceAdministratorName sets the DirectoryServiceAdministratorName field's value.

func (*DeleteNASInstanceInput) SetDirectoryServiceAdministratorPassword

func (s *DeleteNASInstanceInput) SetDirectoryServiceAdministratorPassword(v string) *DeleteNASInstanceInput

SetDirectoryServiceAdministratorPassword sets the DirectoryServiceAdministratorPassword field's value.

func (*DeleteNASInstanceInput) SetNASInstanceIdentifier

func (s *DeleteNASInstanceInput) SetNASInstanceIdentifier(v string) *DeleteNASInstanceInput

SetNASInstanceIdentifier sets the NASInstanceIdentifier field's value.

func (DeleteNASInstanceInput) String

func (s DeleteNASInstanceInput) String() string

String returns the string representation

type DeleteNASInstanceOutput

type DeleteNASInstanceOutput struct {
	NASInstance *NASInstance `type:"structure"`
	// contains filtered or unexported fields
}

func (DeleteNASInstanceOutput) GoString

func (s DeleteNASInstanceOutput) GoString() string

GoString returns the string representation

func (*DeleteNASInstanceOutput) SetNASInstance

SetNASInstance sets the NASInstance field's value.

func (DeleteNASInstanceOutput) String

func (s DeleteNASInstanceOutput) String() string

String returns the string representation

type DeleteNASSecurityGroupInput

type DeleteNASSecurityGroupInput struct {
	NASSecurityGroupName *string `locationName:"NASSecurityGroupName" type:"string"`
	// contains filtered or unexported fields
}

func (DeleteNASSecurityGroupInput) GoString

func (s DeleteNASSecurityGroupInput) GoString() string

GoString returns the string representation

func (*DeleteNASSecurityGroupInput) SetNASSecurityGroupName

func (s *DeleteNASSecurityGroupInput) SetNASSecurityGroupName(v string) *DeleteNASSecurityGroupInput

SetNASSecurityGroupName sets the NASSecurityGroupName field's value.

func (DeleteNASSecurityGroupInput) String

String returns the string representation

type DeleteNASSecurityGroupOutput

type DeleteNASSecurityGroupOutput struct {
	// contains filtered or unexported fields
}

func (DeleteNASSecurityGroupOutput) GoString

func (s DeleteNASSecurityGroupOutput) GoString() string

GoString returns the string representation

func (DeleteNASSecurityGroupOutput) String

String returns the string representation

type DescribeNASInstancesInput

type DescribeNASInstancesInput struct {
	NASInstanceIdentifier *string `locationName:"NASInstanceIdentifier" type:"string"`
	// contains filtered or unexported fields
}

func (DescribeNASInstancesInput) GoString

func (s DescribeNASInstancesInput) GoString() string

GoString returns the string representation

func (*DescribeNASInstancesInput) SetNASInstanceIdentifier

func (s *DescribeNASInstancesInput) SetNASInstanceIdentifier(v string) *DescribeNASInstancesInput

SetNASInstanceIdentifier sets the NASInstanceIdentifier field's value.

func (DescribeNASInstancesInput) String

func (s DescribeNASInstancesInput) String() string

String returns the string representation

type DescribeNASInstancesOutput

type DescribeNASInstancesOutput struct {
	NASInstances []*NASInstance `locationNameList:"NASInstance" type:"list"`
	// contains filtered or unexported fields
}

func (DescribeNASInstancesOutput) GoString

func (s DescribeNASInstancesOutput) GoString() string

GoString returns the string representation

func (*DescribeNASInstancesOutput) SetNASInstances

SetNASInstances sets the NASInstances field's value.

func (DescribeNASInstancesOutput) String

String returns the string representation

type DescribeNASSecurityGroupsInput

type DescribeNASSecurityGroupsInput struct {
	NASSecurityGroupName *string `locationName:"NASSecurityGroupName" type:"string"`
	// contains filtered or unexported fields
}

func (DescribeNASSecurityGroupsInput) GoString

GoString returns the string representation

func (*DescribeNASSecurityGroupsInput) SetNASSecurityGroupName

SetNASSecurityGroupName sets the NASSecurityGroupName field's value.

func (DescribeNASSecurityGroupsInput) String

String returns the string representation

type DescribeNASSecurityGroupsOutput

type DescribeNASSecurityGroupsOutput struct {
	NASSecurityGroups []*NASSecurityGroup `locationNameList:"NASSecurityGroup" type:"list"`
	// contains filtered or unexported fields
}

func (DescribeNASSecurityGroupsOutput) GoString

GoString returns the string representation

func (*DescribeNASSecurityGroupsOutput) SetNASSecurityGroups

SetNASSecurityGroups sets the NASSecurityGroups field's value.

func (DescribeNASSecurityGroupsOutput) String

String returns the string representation

type DomainController

type DomainController struct {
	Hostname *string `type:"string"`

	IPAddress *string `type:"string"`
	// contains filtered or unexported fields
}

func (DomainController) GoString

func (s DomainController) GoString() string

GoString returns the string representation

func (*DomainController) SetHostname

func (s *DomainController) SetHostname(v string) *DomainController

SetHostname sets the Hostname field's value.

func (*DomainController) SetIPAddress

func (s *DomainController) SetIPAddress(v string) *DomainController

SetIPAddress sets the IPAddress field's value.

func (DomainController) String

func (s DomainController) String() string

String returns the string representation

type Endpoint

type Endpoint struct {
	Address *string `type:"string"`

	PrivateAddress *string `type:"string"`
	// contains filtered or unexported fields
}

func (Endpoint) GoString

func (s Endpoint) GoString() string

GoString returns the string representation

func (*Endpoint) SetAddress

func (s *Endpoint) SetAddress(v string) *Endpoint

SetAddress sets the Address field's value.

func (*Endpoint) SetPrivateAddress

func (s *Endpoint) SetPrivateAddress(v string) *Endpoint

SetPrivateAddress sets the PrivateAddress field's value.

func (Endpoint) String

func (s Endpoint) String() string

String returns the string representation

type GetMetricStatisticsInput

type GetMetricStatisticsInput struct {
	Dimensions []*RequestDimensionsStruct `locationName:"Dimensions" locationNameList:"member" type:"list"`

	EndTime *time.Time `locationName:"EndTime" type:"timestamp" timestampFormat:"iso8601"`

	MetricName *string `locationName:"MetricName" type:"string"`

	StartTime *time.Time `locationName:"StartTime" type:"timestamp" timestampFormat:"iso8601"`
	// contains filtered or unexported fields
}

func (GetMetricStatisticsInput) GoString

func (s GetMetricStatisticsInput) GoString() string

GoString returns the string representation

func (*GetMetricStatisticsInput) SetDimensions

SetDimensions sets the Dimensions field's value.

func (*GetMetricStatisticsInput) SetEndTime

SetEndTime sets the EndTime field's value.

func (*GetMetricStatisticsInput) SetMetricName

SetMetricName sets the MetricName field's value.

func (*GetMetricStatisticsInput) SetStartTime

SetStartTime sets the StartTime field's value.

func (GetMetricStatisticsInput) String

func (s GetMetricStatisticsInput) String() string

String returns the string representation

type GetMetricStatisticsOutput

type GetMetricStatisticsOutput struct {
	Datapoints []*Member `locationNameList:"member" type:"list"`

	Label *string `type:"string"`
	// contains filtered or unexported fields
}

func (GetMetricStatisticsOutput) GoString

func (s GetMetricStatisticsOutput) GoString() string

GoString returns the string representation

func (*GetMetricStatisticsOutput) SetDatapoints

SetDatapoints sets the Datapoints field's value.

func (*GetMetricStatisticsOutput) SetLabel

SetLabel sets the Label field's value.

func (GetMetricStatisticsOutput) String

func (s GetMetricStatisticsOutput) String() string

String returns the string representation

type IPRange

type IPRange struct {
	CIDRIP *string `type:"string"`

	Status *string `type:"string"`
	// contains filtered or unexported fields
}

func (IPRange) GoString

func (s IPRange) GoString() string

GoString returns the string representation

func (*IPRange) SetCIDRIP

func (s *IPRange) SetCIDRIP(v string) *IPRange

SetCIDRIP sets the CIDRIP field's value.

func (*IPRange) SetStatus

func (s *IPRange) SetStatus(v string) *IPRange

SetStatus sets the Status field's value.

func (IPRange) String

func (s IPRange) String() string

String returns the string representation

type Member

type Member struct {
	SampleCount *string `type:"string"`

	Sum *string `type:"string"`

	TargetName *string `type:"string"`

	Timestamp *string `type:"string"`
	// contains filtered or unexported fields
}

func (Member) GoString

func (s Member) GoString() string

GoString returns the string representation

func (*Member) SetSampleCount

func (s *Member) SetSampleCount(v string) *Member

SetSampleCount sets the SampleCount field's value.

func (*Member) SetSum

func (s *Member) SetSum(v string) *Member

SetSum sets the Sum field's value.

func (*Member) SetTargetName

func (s *Member) SetTargetName(v string) *Member

SetTargetName sets the TargetName field's value.

func (*Member) SetTimestamp

func (s *Member) SetTimestamp(v string) *Member

SetTimestamp sets the Timestamp field's value.

func (Member) String

func (s Member) String() string

String returns the string representation

type ModifyNASInstanceInput

type ModifyNASInstanceInput struct {
	AllocatedStorage *int64 `locationName:"AllocatedStorage" type:"integer"`

	AuthenticationType *int64 `locationName:"AuthenticationType" type:"integer"`

	DirectoryServiceAdministratorName *string `locationName:"DirectoryServiceAdministratorName" type:"string"`

	DirectoryServiceAdministratorPassword *string `locationName:"DirectoryServiceAdministratorPassword" type:"string"`

	DirectoryServiceDomainName *string `locationName:"DirectoryServiceDomainName" type:"string"`

	DomainControllers []*RequestDomainControllersStruct `locationName:"DomainControllers" locationNameList:"member" type:"list"`

	MasterPrivateAddress *string `locationName:"MasterPrivateAddress" type:"string"`

	MasterUserPassword *string `locationName:"MasterUserPassword" type:"string"`

	NASInstanceDescription *string `locationName:"NASInstanceDescription" type:"string"`

	NASInstanceIdentifier *string `locationName:"NASInstanceIdentifier" type:"string"`

	NASSecurityGroups []*string `locationName:"NASSecurityGroups" locationNameList:"member" type:"list"`

	NetworkId *string `locationName:"NetworkId" type:"string"`

	NewNASInstanceIdentifier *string `locationName:"NewNASInstanceIdentifier" type:"string"`
	// contains filtered or unexported fields
}

func (ModifyNASInstanceInput) GoString

func (s ModifyNASInstanceInput) GoString() string

GoString returns the string representation

func (*ModifyNASInstanceInput) SetAllocatedStorage

func (s *ModifyNASInstanceInput) SetAllocatedStorage(v int64) *ModifyNASInstanceInput

SetAllocatedStorage sets the AllocatedStorage field's value.

func (*ModifyNASInstanceInput) SetAuthenticationType

func (s *ModifyNASInstanceInput) SetAuthenticationType(v int64) *ModifyNASInstanceInput

SetAuthenticationType sets the AuthenticationType field's value.

func (*ModifyNASInstanceInput) SetDirectoryServiceAdministratorName

func (s *ModifyNASInstanceInput) SetDirectoryServiceAdministratorName(v string) *ModifyNASInstanceInput

SetDirectoryServiceAdministratorName sets the DirectoryServiceAdministratorName field's value.

func (*ModifyNASInstanceInput) SetDirectoryServiceAdministratorPassword

func (s *ModifyNASInstanceInput) SetDirectoryServiceAdministratorPassword(v string) *ModifyNASInstanceInput

SetDirectoryServiceAdministratorPassword sets the DirectoryServiceAdministratorPassword field's value.

func (*ModifyNASInstanceInput) SetDirectoryServiceDomainName

func (s *ModifyNASInstanceInput) SetDirectoryServiceDomainName(v string) *ModifyNASInstanceInput

SetDirectoryServiceDomainName sets the DirectoryServiceDomainName field's value.

func (*ModifyNASInstanceInput) SetDomainControllers

SetDomainControllers sets the DomainControllers field's value.

func (*ModifyNASInstanceInput) SetMasterPrivateAddress

func (s *ModifyNASInstanceInput) SetMasterPrivateAddress(v string) *ModifyNASInstanceInput

SetMasterPrivateAddress sets the MasterPrivateAddress field's value.

func (*ModifyNASInstanceInput) SetMasterUserPassword

func (s *ModifyNASInstanceInput) SetMasterUserPassword(v string) *ModifyNASInstanceInput

SetMasterUserPassword sets the MasterUserPassword field's value.

func (*ModifyNASInstanceInput) SetNASInstanceDescription

func (s *ModifyNASInstanceInput) SetNASInstanceDescription(v string) *ModifyNASInstanceInput

SetNASInstanceDescription sets the NASInstanceDescription field's value.

func (*ModifyNASInstanceInput) SetNASInstanceIdentifier

func (s *ModifyNASInstanceInput) SetNASInstanceIdentifier(v string) *ModifyNASInstanceInput

SetNASInstanceIdentifier sets the NASInstanceIdentifier field's value.

func (*ModifyNASInstanceInput) SetNASSecurityGroups

func (s *ModifyNASInstanceInput) SetNASSecurityGroups(v []*string) *ModifyNASInstanceInput

SetNASSecurityGroups sets the NASSecurityGroups field's value.

func (*ModifyNASInstanceInput) SetNetworkId

SetNetworkId sets the NetworkId field's value.

func (*ModifyNASInstanceInput) SetNewNASInstanceIdentifier

func (s *ModifyNASInstanceInput) SetNewNASInstanceIdentifier(v string) *ModifyNASInstanceInput

SetNewNASInstanceIdentifier sets the NewNASInstanceIdentifier field's value.

func (ModifyNASInstanceInput) String

func (s ModifyNASInstanceInput) String() string

String returns the string representation

type ModifyNASInstanceOutput

type ModifyNASInstanceOutput struct {
	NASInstance *NASInstance `type:"structure"`
	// contains filtered or unexported fields
}

func (ModifyNASInstanceOutput) GoString

func (s ModifyNASInstanceOutput) GoString() string

GoString returns the string representation

func (*ModifyNASInstanceOutput) SetNASInstance

SetNASInstance sets the NASInstance field's value.

func (ModifyNASInstanceOutput) String

func (s ModifyNASInstanceOutput) String() string

String returns the string representation

type ModifyNASSecurityGroupInput

type ModifyNASSecurityGroupInput struct {
	NASSecurityGroupDescription *string `locationName:"NASSecurityGroupDescription" type:"string"`

	NASSecurityGroupName *string `locationName:"NASSecurityGroupName" type:"string"`

	NewNASSecurityGroupName *string `locationName:"NewNASSecurityGroupName" type:"string"`
	// contains filtered or unexported fields
}

func (ModifyNASSecurityGroupInput) GoString

func (s ModifyNASSecurityGroupInput) GoString() string

GoString returns the string representation

func (*ModifyNASSecurityGroupInput) SetNASSecurityGroupDescription

func (s *ModifyNASSecurityGroupInput) SetNASSecurityGroupDescription(v string) *ModifyNASSecurityGroupInput

SetNASSecurityGroupDescription sets the NASSecurityGroupDescription field's value.

func (*ModifyNASSecurityGroupInput) SetNASSecurityGroupName

func (s *ModifyNASSecurityGroupInput) SetNASSecurityGroupName(v string) *ModifyNASSecurityGroupInput

SetNASSecurityGroupName sets the NASSecurityGroupName field's value.

func (*ModifyNASSecurityGroupInput) SetNewNASSecurityGroupName

func (s *ModifyNASSecurityGroupInput) SetNewNASSecurityGroupName(v string) *ModifyNASSecurityGroupInput

SetNewNASSecurityGroupName sets the NewNASSecurityGroupName field's value.

func (ModifyNASSecurityGroupInput) String

String returns the string representation

type ModifyNASSecurityGroupOutput

type ModifyNASSecurityGroupOutput struct {
	NASSecurityGroup *NASSecurityGroup `type:"structure"`
	// contains filtered or unexported fields
}

func (ModifyNASSecurityGroupOutput) GoString

func (s ModifyNASSecurityGroupOutput) GoString() string

GoString returns the string representation

func (*ModifyNASSecurityGroupOutput) SetNASSecurityGroup

SetNASSecurityGroup sets the NASSecurityGroup field's value.

func (ModifyNASSecurityGroupOutput) String

String returns the string representation

type NASInstance

type NASInstance struct {
	AllocatedStorage *string `type:"string"`

	AuthenticationType *int64 `type:"integer"`

	AvailabilityZone *string `type:"string"`

	CreateTime *string `type:"string"`

	DirectoryServiceDomainName *string `type:"string"`

	DomainControllers []*DomainController `locationNameList:"DomainController" type:"list"`

	Endpoint *Endpoint `type:"structure"`

	MasterUsername *string `type:"string"`

	NASInstanceClass *string `type:"string"`

	NASInstanceDescription *string `type:"string"`

	NASInstanceErrorInfo *NASInstanceErrorInfo `type:"structure"`

	NASInstanceIdentifier *string `type:"string"`

	NASInstanceStatus *string `type:"string"`

	NASInstanceType *int64 `type:"integer"`

	NASSecurityGroups []*NASSecurityGroup `locationNameList:"NASSecurityGroup" type:"list"`

	NetworkId *string `type:"string"`

	NoRootSquash *string `type:"string"`

	Protocol *string `type:"string"`

	StorageType *int64 `type:"integer"`
	// contains filtered or unexported fields
}

func (NASInstance) GoString

func (s NASInstance) GoString() string

GoString returns the string representation

func (*NASInstance) SetAllocatedStorage

func (s *NASInstance) SetAllocatedStorage(v string) *NASInstance

SetAllocatedStorage sets the AllocatedStorage field's value.

func (*NASInstance) SetAuthenticationType

func (s *NASInstance) SetAuthenticationType(v int64) *NASInstance

SetAuthenticationType sets the AuthenticationType field's value.

func (*NASInstance) SetAvailabilityZone

func (s *NASInstance) SetAvailabilityZone(v string) *NASInstance

SetAvailabilityZone sets the AvailabilityZone field's value.

func (*NASInstance) SetCreateTime

func (s *NASInstance) SetCreateTime(v string) *NASInstance

SetCreateTime sets the CreateTime field's value.

func (*NASInstance) SetDirectoryServiceDomainName

func (s *NASInstance) SetDirectoryServiceDomainName(v string) *NASInstance

SetDirectoryServiceDomainName sets the DirectoryServiceDomainName field's value.

func (*NASInstance) SetDomainControllers

func (s *NASInstance) SetDomainControllers(v []*DomainController) *NASInstance

SetDomainControllers sets the DomainControllers field's value.

func (*NASInstance) SetEndpoint

func (s *NASInstance) SetEndpoint(v *Endpoint) *NASInstance

SetEndpoint sets the Endpoint field's value.

func (*NASInstance) SetMasterUsername

func (s *NASInstance) SetMasterUsername(v string) *NASInstance

SetMasterUsername sets the MasterUsername field's value.

func (*NASInstance) SetNASInstanceClass

func (s *NASInstance) SetNASInstanceClass(v string) *NASInstance

SetNASInstanceClass sets the NASInstanceClass field's value.

func (*NASInstance) SetNASInstanceDescription

func (s *NASInstance) SetNASInstanceDescription(v string) *NASInstance

SetNASInstanceDescription sets the NASInstanceDescription field's value.

func (*NASInstance) SetNASInstanceErrorInfo

func (s *NASInstance) SetNASInstanceErrorInfo(v *NASInstanceErrorInfo) *NASInstance

SetNASInstanceErrorInfo sets the NASInstanceErrorInfo field's value.

func (*NASInstance) SetNASInstanceIdentifier

func (s *NASInstance) SetNASInstanceIdentifier(v string) *NASInstance

SetNASInstanceIdentifier sets the NASInstanceIdentifier field's value.

func (*NASInstance) SetNASInstanceStatus

func (s *NASInstance) SetNASInstanceStatus(v string) *NASInstance

SetNASInstanceStatus sets the NASInstanceStatus field's value.

func (*NASInstance) SetNASInstanceType

func (s *NASInstance) SetNASInstanceType(v int64) *NASInstance

SetNASInstanceType sets the NASInstanceType field's value.

func (*NASInstance) SetNASSecurityGroups

func (s *NASInstance) SetNASSecurityGroups(v []*NASSecurityGroup) *NASInstance

SetNASSecurityGroups sets the NASSecurityGroups field's value.

func (*NASInstance) SetNetworkId

func (s *NASInstance) SetNetworkId(v string) *NASInstance

SetNetworkId sets the NetworkId field's value.

func (*NASInstance) SetNoRootSquash

func (s *NASInstance) SetNoRootSquash(v string) *NASInstance

SetNoRootSquash sets the NoRootSquash field's value.

func (*NASInstance) SetProtocol

func (s *NASInstance) SetProtocol(v string) *NASInstance

SetProtocol sets the Protocol field's value.

func (*NASInstance) SetStorageType

func (s *NASInstance) SetStorageType(v int64) *NASInstance

SetStorageType sets the StorageType field's value.

func (NASInstance) String

func (s NASInstance) String() string

String returns the string representation

type NASInstanceErrorInfo

type NASInstanceErrorInfo struct {
	NASInstanceErrorCode *string `type:"string"`

	NASInstanceErrorMessage *string `type:"string"`
	// contains filtered or unexported fields
}

func (NASInstanceErrorInfo) GoString

func (s NASInstanceErrorInfo) GoString() string

GoString returns the string representation

func (*NASInstanceErrorInfo) SetNASInstanceErrorCode

func (s *NASInstanceErrorInfo) SetNASInstanceErrorCode(v string) *NASInstanceErrorInfo

SetNASInstanceErrorCode sets the NASInstanceErrorCode field's value.

func (*NASInstanceErrorInfo) SetNASInstanceErrorMessage

func (s *NASInstanceErrorInfo) SetNASInstanceErrorMessage(v string) *NASInstanceErrorInfo

SetNASInstanceErrorMessage sets the NASInstanceErrorMessage field's value.

func (NASInstanceErrorInfo) String

func (s NASInstanceErrorInfo) String() string

String returns the string representation

type NASSecurityGroup

type NASSecurityGroup struct {
	AvailabilityZone *string `type:"string"`

	IPRanges []*IPRange `locationNameList:"IPRange" type:"list"`

	NASSecurityGroupDescription *string `type:"string"`

	NASSecurityGroupName *string `type:"string"`

	OwnerId *string `type:"string"`

	SecurityGroups []*SecurityGroup `locationNameList:"SecurityGroup" type:"list"`
	// contains filtered or unexported fields
}

func (NASSecurityGroup) GoString

func (s NASSecurityGroup) GoString() string

GoString returns the string representation

func (*NASSecurityGroup) SetAvailabilityZone

func (s *NASSecurityGroup) SetAvailabilityZone(v string) *NASSecurityGroup

SetAvailabilityZone sets the AvailabilityZone field's value.

func (*NASSecurityGroup) SetIPRanges

func (s *NASSecurityGroup) SetIPRanges(v []*IPRange) *NASSecurityGroup

SetIPRanges sets the IPRanges field's value.

func (*NASSecurityGroup) SetNASSecurityGroupDescription

func (s *NASSecurityGroup) SetNASSecurityGroupDescription(v string) *NASSecurityGroup

SetNASSecurityGroupDescription sets the NASSecurityGroupDescription field's value.

func (*NASSecurityGroup) SetNASSecurityGroupName

func (s *NASSecurityGroup) SetNASSecurityGroupName(v string) *NASSecurityGroup

SetNASSecurityGroupName sets the NASSecurityGroupName field's value.

func (*NASSecurityGroup) SetOwnerId

func (s *NASSecurityGroup) SetOwnerId(v string) *NASSecurityGroup

SetOwnerId sets the OwnerId field's value.

func (*NASSecurityGroup) SetSecurityGroups

func (s *NASSecurityGroup) SetSecurityGroups(v []*SecurityGroup) *NASSecurityGroup

SetSecurityGroups sets the SecurityGroups field's value.

func (NASSecurityGroup) String

func (s NASSecurityGroup) String() string

String returns the string representation

type Nas

type Nas struct {
	*client.Client
}

Nas provides the API operation methods for making requests to NIFCLOUD NAS. See this package's package overview docs for details on the service.

Nas methods are safe to use concurrently. It is not safe to modify mutate any of the struct's properties though.

func New

func New(p client.ConfigProvider, cfgs ...*nifcloud.Config) *Nas

New creates a new instance of the Nas client with a session. If additional configuration is needed for the client instance use the optional nifcloud.Config parameter to add your extra config.

Example:

// Create a Nas client from just a session.
svc := nas.New(mySession)

// Create a Nas client with additional configuration
svc := nas.New(mySession, nifcloud.NewConfig().WithRegion("us-west-2"))

func (*Nas) AuthorizeNASSecurityGroupIngress

func (c *Nas) AuthorizeNASSecurityGroupIngress(input *AuthorizeNASSecurityGroupIngressInput) (*AuthorizeNASSecurityGroupIngressOutput, error)

AuthorizeNASSecurityGroupIngress API operation for NIFCLOUD NAS.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for NIFCLOUD NAS's API operation AuthorizeNASSecurityGroupIngress for usage and error information. See also, https://docs.aws.amazon.com/goto/WebAPI/nas-N2016-02-24/AuthorizeNASSecurityGroupIngress

func (*Nas) AuthorizeNASSecurityGroupIngressRequest

func (c *Nas) AuthorizeNASSecurityGroupIngressRequest(input *AuthorizeNASSecurityGroupIngressInput) (req *request.Request, output *AuthorizeNASSecurityGroupIngressOutput)

AuthorizeNASSecurityGroupIngressRequest generates a "nifcloud/request.Request" representing the client's request for the AuthorizeNASSecurityGroupIngress operation. The "output" return value will be populated with the request's response once the request completes successfuly.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See AuthorizeNASSecurityGroupIngress for more information on using the AuthorizeNASSecurityGroupIngress API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the AuthorizeNASSecurityGroupIngressRequest method.
req, resp := client.AuthorizeNASSecurityGroupIngressRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/nas-N2016-02-24/AuthorizeNASSecurityGroupIngress

func (*Nas) AuthorizeNASSecurityGroupIngressWithContext

func (c *Nas) AuthorizeNASSecurityGroupIngressWithContext(ctx nifcloud.Context, input *AuthorizeNASSecurityGroupIngressInput, opts ...request.Option) (*AuthorizeNASSecurityGroupIngressOutput, error)

AuthorizeNASSecurityGroupIngressWithContext is the same as AuthorizeNASSecurityGroupIngress with the addition of the ability to pass a context and additional request options.

See AuthorizeNASSecurityGroupIngress for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*Nas) CreateNASInstance

func (c *Nas) CreateNASInstance(input *CreateNASInstanceInput) (*CreateNASInstanceOutput, error)

CreateNASInstance API operation for NIFCLOUD NAS.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for NIFCLOUD NAS's API operation CreateNASInstance for usage and error information. See also, https://docs.aws.amazon.com/goto/WebAPI/nas-N2016-02-24/CreateNASInstance

func (*Nas) CreateNASInstanceRequest

func (c *Nas) CreateNASInstanceRequest(input *CreateNASInstanceInput) (req *request.Request, output *CreateNASInstanceOutput)

CreateNASInstanceRequest generates a "nifcloud/request.Request" representing the client's request for the CreateNASInstance operation. The "output" return value will be populated with the request's response once the request completes successfuly.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See CreateNASInstance for more information on using the CreateNASInstance API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the CreateNASInstanceRequest method.
req, resp := client.CreateNASInstanceRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/nas-N2016-02-24/CreateNASInstance

func (*Nas) CreateNASInstanceWithContext

func (c *Nas) CreateNASInstanceWithContext(ctx nifcloud.Context, input *CreateNASInstanceInput, opts ...request.Option) (*CreateNASInstanceOutput, error)

CreateNASInstanceWithContext is the same as CreateNASInstance with the addition of the ability to pass a context and additional request options.

See CreateNASInstance for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*Nas) CreateNASSecurityGroup

func (c *Nas) CreateNASSecurityGroup(input *CreateNASSecurityGroupInput) (*CreateNASSecurityGroupOutput, error)

CreateNASSecurityGroup API operation for NIFCLOUD NAS.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for NIFCLOUD NAS's API operation CreateNASSecurityGroup for usage and error information. See also, https://docs.aws.amazon.com/goto/WebAPI/nas-N2016-02-24/CreateNASSecurityGroup

func (*Nas) CreateNASSecurityGroupRequest

func (c *Nas) CreateNASSecurityGroupRequest(input *CreateNASSecurityGroupInput) (req *request.Request, output *CreateNASSecurityGroupOutput)

CreateNASSecurityGroupRequest generates a "nifcloud/request.Request" representing the client's request for the CreateNASSecurityGroup operation. The "output" return value will be populated with the request's response once the request completes successfuly.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See CreateNASSecurityGroup for more information on using the CreateNASSecurityGroup API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the CreateNASSecurityGroupRequest method.
req, resp := client.CreateNASSecurityGroupRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/nas-N2016-02-24/CreateNASSecurityGroup

func (*Nas) CreateNASSecurityGroupWithContext

func (c *Nas) CreateNASSecurityGroupWithContext(ctx nifcloud.Context, input *CreateNASSecurityGroupInput, opts ...request.Option) (*CreateNASSecurityGroupOutput, error)

CreateNASSecurityGroupWithContext is the same as CreateNASSecurityGroup with the addition of the ability to pass a context and additional request options.

See CreateNASSecurityGroup for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*Nas) DeleteNASInstance

func (c *Nas) DeleteNASInstance(input *DeleteNASInstanceInput) (*DeleteNASInstanceOutput, error)

DeleteNASInstance API operation for NIFCLOUD NAS.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for NIFCLOUD NAS's API operation DeleteNASInstance for usage and error information. See also, https://docs.aws.amazon.com/goto/WebAPI/nas-N2016-02-24/DeleteNASInstance

func (*Nas) DeleteNASInstanceRequest

func (c *Nas) DeleteNASInstanceRequest(input *DeleteNASInstanceInput) (req *request.Request, output *DeleteNASInstanceOutput)

DeleteNASInstanceRequest generates a "nifcloud/request.Request" representing the client's request for the DeleteNASInstance operation. The "output" return value will be populated with the request's response once the request completes successfuly.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See DeleteNASInstance for more information on using the DeleteNASInstance API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the DeleteNASInstanceRequest method.
req, resp := client.DeleteNASInstanceRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/nas-N2016-02-24/DeleteNASInstance

func (*Nas) DeleteNASInstanceWithContext

func (c *Nas) DeleteNASInstanceWithContext(ctx nifcloud.Context, input *DeleteNASInstanceInput, opts ...request.Option) (*DeleteNASInstanceOutput, error)

DeleteNASInstanceWithContext is the same as DeleteNASInstance with the addition of the ability to pass a context and additional request options.

See DeleteNASInstance for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*Nas) DeleteNASSecurityGroup

func (c *Nas) DeleteNASSecurityGroup(input *DeleteNASSecurityGroupInput) (*DeleteNASSecurityGroupOutput, error)

DeleteNASSecurityGroup API operation for NIFCLOUD NAS.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for NIFCLOUD NAS's API operation DeleteNASSecurityGroup for usage and error information. See also, https://docs.aws.amazon.com/goto/WebAPI/nas-N2016-02-24/DeleteNASSecurityGroup

func (*Nas) DeleteNASSecurityGroupRequest

func (c *Nas) DeleteNASSecurityGroupRequest(input *DeleteNASSecurityGroupInput) (req *request.Request, output *DeleteNASSecurityGroupOutput)

DeleteNASSecurityGroupRequest generates a "nifcloud/request.Request" representing the client's request for the DeleteNASSecurityGroup operation. The "output" return value will be populated with the request's response once the request completes successfuly.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See DeleteNASSecurityGroup for more information on using the DeleteNASSecurityGroup API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the DeleteNASSecurityGroupRequest method.
req, resp := client.DeleteNASSecurityGroupRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/nas-N2016-02-24/DeleteNASSecurityGroup

func (*Nas) DeleteNASSecurityGroupWithContext

func (c *Nas) DeleteNASSecurityGroupWithContext(ctx nifcloud.Context, input *DeleteNASSecurityGroupInput, opts ...request.Option) (*DeleteNASSecurityGroupOutput, error)

DeleteNASSecurityGroupWithContext is the same as DeleteNASSecurityGroup with the addition of the ability to pass a context and additional request options.

See DeleteNASSecurityGroup for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*Nas) DescribeNASInstances

func (c *Nas) DescribeNASInstances(input *DescribeNASInstancesInput) (*DescribeNASInstancesOutput, error)

DescribeNASInstances API operation for NIFCLOUD NAS.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for NIFCLOUD NAS's API operation DescribeNASInstances for usage and error information. See also, https://docs.aws.amazon.com/goto/WebAPI/nas-N2016-02-24/DescribeNASInstances

func (*Nas) DescribeNASInstancesRequest

func (c *Nas) DescribeNASInstancesRequest(input *DescribeNASInstancesInput) (req *request.Request, output *DescribeNASInstancesOutput)

DescribeNASInstancesRequest generates a "nifcloud/request.Request" representing the client's request for the DescribeNASInstances operation. The "output" return value will be populated with the request's response once the request completes successfuly.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See DescribeNASInstances for more information on using the DescribeNASInstances API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the DescribeNASInstancesRequest method.
req, resp := client.DescribeNASInstancesRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/nas-N2016-02-24/DescribeNASInstances

func (*Nas) DescribeNASInstancesWithContext

func (c *Nas) DescribeNASInstancesWithContext(ctx nifcloud.Context, input *DescribeNASInstancesInput, opts ...request.Option) (*DescribeNASInstancesOutput, error)

DescribeNASInstancesWithContext is the same as DescribeNASInstances with the addition of the ability to pass a context and additional request options.

See DescribeNASInstances for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*Nas) DescribeNASSecurityGroups

func (c *Nas) DescribeNASSecurityGroups(input *DescribeNASSecurityGroupsInput) (*DescribeNASSecurityGroupsOutput, error)

DescribeNASSecurityGroups API operation for NIFCLOUD NAS.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for NIFCLOUD NAS's API operation DescribeNASSecurityGroups for usage and error information. See also, https://docs.aws.amazon.com/goto/WebAPI/nas-N2016-02-24/DescribeNASSecurityGroups

func (*Nas) DescribeNASSecurityGroupsRequest

func (c *Nas) DescribeNASSecurityGroupsRequest(input *DescribeNASSecurityGroupsInput) (req *request.Request, output *DescribeNASSecurityGroupsOutput)

DescribeNASSecurityGroupsRequest generates a "nifcloud/request.Request" representing the client's request for the DescribeNASSecurityGroups operation. The "output" return value will be populated with the request's response once the request completes successfuly.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See DescribeNASSecurityGroups for more information on using the DescribeNASSecurityGroups API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the DescribeNASSecurityGroupsRequest method.
req, resp := client.DescribeNASSecurityGroupsRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/nas-N2016-02-24/DescribeNASSecurityGroups

func (*Nas) DescribeNASSecurityGroupsWithContext

func (c *Nas) DescribeNASSecurityGroupsWithContext(ctx nifcloud.Context, input *DescribeNASSecurityGroupsInput, opts ...request.Option) (*DescribeNASSecurityGroupsOutput, error)

DescribeNASSecurityGroupsWithContext is the same as DescribeNASSecurityGroups with the addition of the ability to pass a context and additional request options.

See DescribeNASSecurityGroups for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*Nas) GetMetricStatistics

func (c *Nas) GetMetricStatistics(input *GetMetricStatisticsInput) (*GetMetricStatisticsOutput, error)

GetMetricStatistics API operation for NIFCLOUD NAS.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for NIFCLOUD NAS's API operation GetMetricStatistics for usage and error information. See also, https://docs.aws.amazon.com/goto/WebAPI/nas-N2016-02-24/GetMetricStatistics

func (*Nas) GetMetricStatisticsRequest

func (c *Nas) GetMetricStatisticsRequest(input *GetMetricStatisticsInput) (req *request.Request, output *GetMetricStatisticsOutput)

GetMetricStatisticsRequest generates a "nifcloud/request.Request" representing the client's request for the GetMetricStatistics operation. The "output" return value will be populated with the request's response once the request completes successfuly.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See GetMetricStatistics for more information on using the GetMetricStatistics API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the GetMetricStatisticsRequest method.
req, resp := client.GetMetricStatisticsRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/nas-N2016-02-24/GetMetricStatistics

func (*Nas) GetMetricStatisticsWithContext

func (c *Nas) GetMetricStatisticsWithContext(ctx nifcloud.Context, input *GetMetricStatisticsInput, opts ...request.Option) (*GetMetricStatisticsOutput, error)

GetMetricStatisticsWithContext is the same as GetMetricStatistics with the addition of the ability to pass a context and additional request options.

See GetMetricStatistics for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*Nas) ModifyNASInstance

func (c *Nas) ModifyNASInstance(input *ModifyNASInstanceInput) (*ModifyNASInstanceOutput, error)

ModifyNASInstance API operation for NIFCLOUD NAS.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for NIFCLOUD NAS's API operation ModifyNASInstance for usage and error information. See also, https://docs.aws.amazon.com/goto/WebAPI/nas-N2016-02-24/ModifyNASInstance

func (*Nas) ModifyNASInstanceRequest

func (c *Nas) ModifyNASInstanceRequest(input *ModifyNASInstanceInput) (req *request.Request, output *ModifyNASInstanceOutput)

ModifyNASInstanceRequest generates a "nifcloud/request.Request" representing the client's request for the ModifyNASInstance operation. The "output" return value will be populated with the request's response once the request completes successfuly.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See ModifyNASInstance for more information on using the ModifyNASInstance API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the ModifyNASInstanceRequest method.
req, resp := client.ModifyNASInstanceRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/nas-N2016-02-24/ModifyNASInstance

func (*Nas) ModifyNASInstanceWithContext

func (c *Nas) ModifyNASInstanceWithContext(ctx nifcloud.Context, input *ModifyNASInstanceInput, opts ...request.Option) (*ModifyNASInstanceOutput, error)

ModifyNASInstanceWithContext is the same as ModifyNASInstance with the addition of the ability to pass a context and additional request options.

See ModifyNASInstance for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*Nas) ModifyNASSecurityGroup

func (c *Nas) ModifyNASSecurityGroup(input *ModifyNASSecurityGroupInput) (*ModifyNASSecurityGroupOutput, error)

ModifyNASSecurityGroup API operation for NIFCLOUD NAS.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for NIFCLOUD NAS's API operation ModifyNASSecurityGroup for usage and error information. See also, https://docs.aws.amazon.com/goto/WebAPI/nas-N2016-02-24/ModifyNASSecurityGroup

func (*Nas) ModifyNASSecurityGroupRequest

func (c *Nas) ModifyNASSecurityGroupRequest(input *ModifyNASSecurityGroupInput) (req *request.Request, output *ModifyNASSecurityGroupOutput)

ModifyNASSecurityGroupRequest generates a "nifcloud/request.Request" representing the client's request for the ModifyNASSecurityGroup operation. The "output" return value will be populated with the request's response once the request completes successfuly.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See ModifyNASSecurityGroup for more information on using the ModifyNASSecurityGroup API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the ModifyNASSecurityGroupRequest method.
req, resp := client.ModifyNASSecurityGroupRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/nas-N2016-02-24/ModifyNASSecurityGroup

func (*Nas) ModifyNASSecurityGroupWithContext

func (c *Nas) ModifyNASSecurityGroupWithContext(ctx nifcloud.Context, input *ModifyNASSecurityGroupInput, opts ...request.Option) (*ModifyNASSecurityGroupOutput, error)

ModifyNASSecurityGroupWithContext is the same as ModifyNASSecurityGroup with the addition of the ability to pass a context and additional request options.

See ModifyNASSecurityGroup for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*Nas) RevokeNASSecurityGroupIngress

func (c *Nas) RevokeNASSecurityGroupIngress(input *RevokeNASSecurityGroupIngressInput) (*RevokeNASSecurityGroupIngressOutput, error)

RevokeNASSecurityGroupIngress API operation for NIFCLOUD NAS.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for NIFCLOUD NAS's API operation RevokeNASSecurityGroupIngress for usage and error information. See also, https://docs.aws.amazon.com/goto/WebAPI/nas-N2016-02-24/RevokeNASSecurityGroupIngress

func (*Nas) RevokeNASSecurityGroupIngressRequest

func (c *Nas) RevokeNASSecurityGroupIngressRequest(input *RevokeNASSecurityGroupIngressInput) (req *request.Request, output *RevokeNASSecurityGroupIngressOutput)

RevokeNASSecurityGroupIngressRequest generates a "nifcloud/request.Request" representing the client's request for the RevokeNASSecurityGroupIngress operation. The "output" return value will be populated with the request's response once the request completes successfuly.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See RevokeNASSecurityGroupIngress for more information on using the RevokeNASSecurityGroupIngress API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the RevokeNASSecurityGroupIngressRequest method.
req, resp := client.RevokeNASSecurityGroupIngressRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/nas-N2016-02-24/RevokeNASSecurityGroupIngress

func (*Nas) RevokeNASSecurityGroupIngressWithContext

func (c *Nas) RevokeNASSecurityGroupIngressWithContext(ctx nifcloud.Context, input *RevokeNASSecurityGroupIngressInput, opts ...request.Option) (*RevokeNASSecurityGroupIngressOutput, error)

RevokeNASSecurityGroupIngressWithContext is the same as RevokeNASSecurityGroupIngress with the addition of the ability to pass a context and additional request options.

See RevokeNASSecurityGroupIngress for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

type RequestDimensionsStruct

type RequestDimensionsStruct struct {
	Name *string `locationName:"Name" type:"string"`

	Value *string `locationName:"Value" type:"string"`
	// contains filtered or unexported fields
}

func (RequestDimensionsStruct) GoString

func (s RequestDimensionsStruct) GoString() string

GoString returns the string representation

func (*RequestDimensionsStruct) SetName

SetName sets the Name field's value.

func (*RequestDimensionsStruct) SetValue

SetValue sets the Value field's value.

func (RequestDimensionsStruct) String

func (s RequestDimensionsStruct) String() string

String returns the string representation

type RequestDomainControllersStruct

type RequestDomainControllersStruct struct {
	Hostname *string `locationName:"Hostname" type:"string"`

	IPAddress *string `locationName:"IPAddress" type:"string"`
	// contains filtered or unexported fields
}

func (RequestDomainControllersStruct) GoString

GoString returns the string representation

func (*RequestDomainControllersStruct) SetHostname

SetHostname sets the Hostname field's value.

func (*RequestDomainControllersStruct) SetIPAddress

SetIPAddress sets the IPAddress field's value.

func (RequestDomainControllersStruct) String

String returns the string representation

type RevokeNASSecurityGroupIngressInput

type RevokeNASSecurityGroupIngressInput struct {
	CIDRIP *string `locationName:"CIDRIP" type:"string"`

	NASSecurityGroupName *string `locationName:"NASSecurityGroupName" type:"string"`

	SecurityGroupName *string `locationName:"SecurityGroupName" type:"string"`
	// contains filtered or unexported fields
}

func (RevokeNASSecurityGroupIngressInput) GoString

GoString returns the string representation

func (*RevokeNASSecurityGroupIngressInput) SetCIDRIP

SetCIDRIP sets the CIDRIP field's value.

func (*RevokeNASSecurityGroupIngressInput) SetNASSecurityGroupName

SetNASSecurityGroupName sets the NASSecurityGroupName field's value.

func (*RevokeNASSecurityGroupIngressInput) SetSecurityGroupName

SetSecurityGroupName sets the SecurityGroupName field's value.

func (RevokeNASSecurityGroupIngressInput) String

String returns the string representation

type RevokeNASSecurityGroupIngressOutput

type RevokeNASSecurityGroupIngressOutput struct {
	NASSecurityGroup *NASSecurityGroup `type:"structure"`
	// contains filtered or unexported fields
}

func (RevokeNASSecurityGroupIngressOutput) GoString

GoString returns the string representation

func (*RevokeNASSecurityGroupIngressOutput) SetNASSecurityGroup

SetNASSecurityGroup sets the NASSecurityGroup field's value.

func (RevokeNASSecurityGroupIngressOutput) String

String returns the string representation

type SecurityGroup

type SecurityGroup struct {
	SecurityGroupName *string `type:"string"`

	SecurityGroupOwnerId *string `type:"string"`

	Status *string `type:"string"`
	// contains filtered or unexported fields
}

func (SecurityGroup) GoString

func (s SecurityGroup) GoString() string

GoString returns the string representation

func (*SecurityGroup) SetSecurityGroupName

func (s *SecurityGroup) SetSecurityGroupName(v string) *SecurityGroup

SetSecurityGroupName sets the SecurityGroupName field's value.

func (*SecurityGroup) SetSecurityGroupOwnerId

func (s *SecurityGroup) SetSecurityGroupOwnerId(v string) *SecurityGroup

SetSecurityGroupOwnerId sets the SecurityGroupOwnerId field's value.

func (*SecurityGroup) SetStatus

func (s *SecurityGroup) SetStatus(v string) *SecurityGroup

SetStatus sets the Status field's value.

func (SecurityGroup) String

func (s SecurityGroup) String() string

String returns the string representation

Directories

Path Synopsis
Package nasiface provides an interface to enable mocking the NIFCLOUD NAS service client for testing your code.
Package nasiface provides an interface to enable mocking the NIFCLOUD NAS service client for testing your code.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL