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
- type AuthorizeNASSecurityGroupIngressInput
- func (s AuthorizeNASSecurityGroupIngressInput) GoString() string
- func (s *AuthorizeNASSecurityGroupIngressInput) SetCIDRIP(v string) *AuthorizeNASSecurityGroupIngressInput
- func (s *AuthorizeNASSecurityGroupIngressInput) SetNASSecurityGroupName(v string) *AuthorizeNASSecurityGroupIngressInput
- func (s *AuthorizeNASSecurityGroupIngressInput) SetSecurityGroupName(v string) *AuthorizeNASSecurityGroupIngressInput
- func (s AuthorizeNASSecurityGroupIngressInput) String() string
- type AuthorizeNASSecurityGroupIngressOutput
- type CreateNASInstanceInput
- func (s CreateNASInstanceInput) GoString() string
- func (s *CreateNASInstanceInput) SetAllocatedStorage(v int64) *CreateNASInstanceInput
- func (s *CreateNASInstanceInput) SetAvailabilityZone(v string) *CreateNASInstanceInput
- func (s *CreateNASInstanceInput) SetMasterPrivateAddress(v string) *CreateNASInstanceInput
- func (s *CreateNASInstanceInput) SetMasterUserPassword(v string) *CreateNASInstanceInput
- func (s *CreateNASInstanceInput) SetMasterUsername(v string) *CreateNASInstanceInput
- func (s *CreateNASInstanceInput) SetNASInstanceDescription(v string) *CreateNASInstanceInput
- func (s *CreateNASInstanceInput) SetNASInstanceIdentifier(v string) *CreateNASInstanceInput
- func (s *CreateNASInstanceInput) SetNASInstanceType(v int64) *CreateNASInstanceInput
- func (s *CreateNASInstanceInput) SetNASSecurityGroups(v []*string) *CreateNASInstanceInput
- func (s *CreateNASInstanceInput) SetNetworkId(v string) *CreateNASInstanceInput
- func (s *CreateNASInstanceInput) SetProtocol(v string) *CreateNASInstanceInput
- func (s CreateNASInstanceInput) String() string
- type CreateNASInstanceOutput
- type CreateNASSecurityGroupInput
- func (s CreateNASSecurityGroupInput) GoString() string
- func (s *CreateNASSecurityGroupInput) SetAvailabilityZone(v string) *CreateNASSecurityGroupInput
- func (s *CreateNASSecurityGroupInput) SetNASSecurityGroupDescription(v string) *CreateNASSecurityGroupInput
- func (s *CreateNASSecurityGroupInput) SetNASSecurityGroupName(v string) *CreateNASSecurityGroupInput
- func (s CreateNASSecurityGroupInput) String() string
- type CreateNASSecurityGroupOutput
- type DeleteNASInstanceInput
- func (s DeleteNASInstanceInput) GoString() string
- func (s *DeleteNASInstanceInput) SetDirectoryServiceAdministratorName(v string) *DeleteNASInstanceInput
- func (s *DeleteNASInstanceInput) SetDirectoryServiceAdministratorPassword(v string) *DeleteNASInstanceInput
- func (s *DeleteNASInstanceInput) SetNASInstanceIdentifier(v string) *DeleteNASInstanceInput
- func (s DeleteNASInstanceInput) String() string
- type DeleteNASInstanceOutput
- type DeleteNASSecurityGroupInput
- type DeleteNASSecurityGroupOutput
- type DescribeNASInstancesInput
- type DescribeNASInstancesOutput
- type DescribeNASSecurityGroupsInput
- type DescribeNASSecurityGroupsOutput
- type DomainController
- type Endpoint
- type GetMetricStatisticsInput
- func (s GetMetricStatisticsInput) GoString() string
- func (s *GetMetricStatisticsInput) SetDimensions(v []*RequestDimensionsStruct) *GetMetricStatisticsInput
- func (s *GetMetricStatisticsInput) SetEndTime(v time.Time) *GetMetricStatisticsInput
- func (s *GetMetricStatisticsInput) SetMetricName(v string) *GetMetricStatisticsInput
- func (s *GetMetricStatisticsInput) SetStartTime(v time.Time) *GetMetricStatisticsInput
- func (s GetMetricStatisticsInput) String() string
- type GetMetricStatisticsOutput
- type IPRange
- type Member
- type ModifyNASInstanceInput
- func (s ModifyNASInstanceInput) GoString() string
- func (s *ModifyNASInstanceInput) SetAllocatedStorage(v int64) *ModifyNASInstanceInput
- func (s *ModifyNASInstanceInput) SetAuthenticationType(v int64) *ModifyNASInstanceInput
- func (s *ModifyNASInstanceInput) SetDirectoryServiceAdministratorName(v string) *ModifyNASInstanceInput
- func (s *ModifyNASInstanceInput) SetDirectoryServiceAdministratorPassword(v string) *ModifyNASInstanceInput
- func (s *ModifyNASInstanceInput) SetDirectoryServiceDomainName(v string) *ModifyNASInstanceInput
- func (s *ModifyNASInstanceInput) SetDomainControllers(v []*RequestDomainControllersStruct) *ModifyNASInstanceInput
- func (s *ModifyNASInstanceInput) SetMasterPrivateAddress(v string) *ModifyNASInstanceInput
- func (s *ModifyNASInstanceInput) SetMasterUserPassword(v string) *ModifyNASInstanceInput
- func (s *ModifyNASInstanceInput) SetNASInstanceDescription(v string) *ModifyNASInstanceInput
- func (s *ModifyNASInstanceInput) SetNASInstanceIdentifier(v string) *ModifyNASInstanceInput
- func (s *ModifyNASInstanceInput) SetNASSecurityGroups(v []*string) *ModifyNASInstanceInput
- func (s *ModifyNASInstanceInput) SetNetworkId(v string) *ModifyNASInstanceInput
- func (s *ModifyNASInstanceInput) SetNewNASInstanceIdentifier(v string) *ModifyNASInstanceInput
- func (s ModifyNASInstanceInput) String() string
- type ModifyNASInstanceOutput
- type ModifyNASSecurityGroupInput
- func (s ModifyNASSecurityGroupInput) GoString() string
- func (s *ModifyNASSecurityGroupInput) SetNASSecurityGroupDescription(v string) *ModifyNASSecurityGroupInput
- func (s *ModifyNASSecurityGroupInput) SetNASSecurityGroupName(v string) *ModifyNASSecurityGroupInput
- func (s *ModifyNASSecurityGroupInput) SetNewNASSecurityGroupName(v string) *ModifyNASSecurityGroupInput
- func (s ModifyNASSecurityGroupInput) String() string
- type ModifyNASSecurityGroupOutput
- type NASInstance
- func (s NASInstance) GoString() string
- func (s *NASInstance) SetAllocatedStorage(v string) *NASInstance
- func (s *NASInstance) SetAuthenticationType(v int64) *NASInstance
- func (s *NASInstance) SetAvailabilityZone(v string) *NASInstance
- func (s *NASInstance) SetCreateTime(v string) *NASInstance
- func (s *NASInstance) SetDirectoryServiceDomainName(v string) *NASInstance
- func (s *NASInstance) SetDomainControllers(v []*DomainController) *NASInstance
- func (s *NASInstance) SetEndpoint(v *Endpoint) *NASInstance
- func (s *NASInstance) SetMasterUsername(v string) *NASInstance
- func (s *NASInstance) SetNASInstanceClass(v string) *NASInstance
- func (s *NASInstance) SetNASInstanceDescription(v string) *NASInstance
- func (s *NASInstance) SetNASInstanceErrorInfo(v *NASInstanceErrorInfo) *NASInstance
- func (s *NASInstance) SetNASInstanceIdentifier(v string) *NASInstance
- func (s *NASInstance) SetNASInstanceStatus(v string) *NASInstance
- func (s *NASInstance) SetNASInstanceType(v int64) *NASInstance
- func (s *NASInstance) SetNASSecurityGroups(v []*NASSecurityGroup) *NASInstance
- func (s *NASInstance) SetNetworkId(v string) *NASInstance
- func (s *NASInstance) SetNoRootSquash(v string) *NASInstance
- func (s *NASInstance) SetProtocol(v string) *NASInstance
- func (s *NASInstance) SetStorageType(v int64) *NASInstance
- func (s NASInstance) String() string
- type NASInstanceErrorInfo
- type NASSecurityGroup
- func (s NASSecurityGroup) GoString() string
- func (s *NASSecurityGroup) SetAvailabilityZone(v string) *NASSecurityGroup
- func (s *NASSecurityGroup) SetIPRanges(v []*IPRange) *NASSecurityGroup
- func (s *NASSecurityGroup) SetNASSecurityGroupDescription(v string) *NASSecurityGroup
- func (s *NASSecurityGroup) SetNASSecurityGroupName(v string) *NASSecurityGroup
- func (s *NASSecurityGroup) SetOwnerId(v string) *NASSecurityGroup
- func (s *NASSecurityGroup) SetSecurityGroups(v []*SecurityGroup) *NASSecurityGroup
- func (s NASSecurityGroup) String() string
- type Nas
- func (c *Nas) AuthorizeNASSecurityGroupIngress(input *AuthorizeNASSecurityGroupIngressInput) (*AuthorizeNASSecurityGroupIngressOutput, error)
- func (c *Nas) AuthorizeNASSecurityGroupIngressRequest(input *AuthorizeNASSecurityGroupIngressInput) (req *request.Request, output *AuthorizeNASSecurityGroupIngressOutput)
- func (c *Nas) AuthorizeNASSecurityGroupIngressWithContext(ctx nifcloud.Context, input *AuthorizeNASSecurityGroupIngressInput, ...) (*AuthorizeNASSecurityGroupIngressOutput, error)
- func (c *Nas) CreateNASInstance(input *CreateNASInstanceInput) (*CreateNASInstanceOutput, error)
- func (c *Nas) CreateNASInstanceRequest(input *CreateNASInstanceInput) (req *request.Request, output *CreateNASInstanceOutput)
- func (c *Nas) CreateNASInstanceWithContext(ctx nifcloud.Context, input *CreateNASInstanceInput, opts ...request.Option) (*CreateNASInstanceOutput, error)
- func (c *Nas) CreateNASSecurityGroup(input *CreateNASSecurityGroupInput) (*CreateNASSecurityGroupOutput, error)
- func (c *Nas) CreateNASSecurityGroupRequest(input *CreateNASSecurityGroupInput) (req *request.Request, output *CreateNASSecurityGroupOutput)
- func (c *Nas) CreateNASSecurityGroupWithContext(ctx nifcloud.Context, input *CreateNASSecurityGroupInput, ...) (*CreateNASSecurityGroupOutput, error)
- func (c *Nas) DeleteNASInstance(input *DeleteNASInstanceInput) (*DeleteNASInstanceOutput, error)
- func (c *Nas) DeleteNASInstanceRequest(input *DeleteNASInstanceInput) (req *request.Request, output *DeleteNASInstanceOutput)
- func (c *Nas) DeleteNASInstanceWithContext(ctx nifcloud.Context, input *DeleteNASInstanceInput, opts ...request.Option) (*DeleteNASInstanceOutput, error)
- func (c *Nas) DeleteNASSecurityGroup(input *DeleteNASSecurityGroupInput) (*DeleteNASSecurityGroupOutput, error)
- func (c *Nas) DeleteNASSecurityGroupRequest(input *DeleteNASSecurityGroupInput) (req *request.Request, output *DeleteNASSecurityGroupOutput)
- func (c *Nas) DeleteNASSecurityGroupWithContext(ctx nifcloud.Context, input *DeleteNASSecurityGroupInput, ...) (*DeleteNASSecurityGroupOutput, error)
- func (c *Nas) DescribeNASInstances(input *DescribeNASInstancesInput) (*DescribeNASInstancesOutput, error)
- func (c *Nas) DescribeNASInstancesRequest(input *DescribeNASInstancesInput) (req *request.Request, output *DescribeNASInstancesOutput)
- func (c *Nas) DescribeNASInstancesWithContext(ctx nifcloud.Context, input *DescribeNASInstancesInput, opts ...request.Option) (*DescribeNASInstancesOutput, error)
- func (c *Nas) DescribeNASSecurityGroups(input *DescribeNASSecurityGroupsInput) (*DescribeNASSecurityGroupsOutput, error)
- func (c *Nas) DescribeNASSecurityGroupsRequest(input *DescribeNASSecurityGroupsInput) (req *request.Request, output *DescribeNASSecurityGroupsOutput)
- func (c *Nas) DescribeNASSecurityGroupsWithContext(ctx nifcloud.Context, input *DescribeNASSecurityGroupsInput, ...) (*DescribeNASSecurityGroupsOutput, error)
- func (c *Nas) GetMetricStatistics(input *GetMetricStatisticsInput) (*GetMetricStatisticsOutput, error)
- func (c *Nas) GetMetricStatisticsRequest(input *GetMetricStatisticsInput) (req *request.Request, output *GetMetricStatisticsOutput)
- func (c *Nas) GetMetricStatisticsWithContext(ctx nifcloud.Context, input *GetMetricStatisticsInput, opts ...request.Option) (*GetMetricStatisticsOutput, error)
- func (c *Nas) ModifyNASInstance(input *ModifyNASInstanceInput) (*ModifyNASInstanceOutput, error)
- func (c *Nas) ModifyNASInstanceRequest(input *ModifyNASInstanceInput) (req *request.Request, output *ModifyNASInstanceOutput)
- func (c *Nas) ModifyNASInstanceWithContext(ctx nifcloud.Context, input *ModifyNASInstanceInput, opts ...request.Option) (*ModifyNASInstanceOutput, error)
- func (c *Nas) ModifyNASSecurityGroup(input *ModifyNASSecurityGroupInput) (*ModifyNASSecurityGroupOutput, error)
- func (c *Nas) ModifyNASSecurityGroupRequest(input *ModifyNASSecurityGroupInput) (req *request.Request, output *ModifyNASSecurityGroupOutput)
- func (c *Nas) ModifyNASSecurityGroupWithContext(ctx nifcloud.Context, input *ModifyNASSecurityGroupInput, ...) (*ModifyNASSecurityGroupOutput, error)
- func (c *Nas) RevokeNASSecurityGroupIngress(input *RevokeNASSecurityGroupIngressInput) (*RevokeNASSecurityGroupIngressOutput, error)
- func (c *Nas) RevokeNASSecurityGroupIngressRequest(input *RevokeNASSecurityGroupIngressInput) (req *request.Request, output *RevokeNASSecurityGroupIngressOutput)
- func (c *Nas) RevokeNASSecurityGroupIngressWithContext(ctx nifcloud.Context, input *RevokeNASSecurityGroupIngressInput, ...) (*RevokeNASSecurityGroupIngressOutput, error)
- type RequestDimensionsStruct
- type RequestDomainControllersStruct
- func (s RequestDomainControllersStruct) GoString() string
- func (s *RequestDomainControllersStruct) SetHostname(v string) *RequestDomainControllersStruct
- func (s *RequestDomainControllersStruct) SetIPAddress(v string) *RequestDomainControllersStruct
- func (s RequestDomainControllersStruct) String() string
- type RevokeNASSecurityGroupIngressInput
- func (s RevokeNASSecurityGroupIngressInput) GoString() string
- func (s *RevokeNASSecurityGroupIngressInput) SetCIDRIP(v string) *RevokeNASSecurityGroupIngressInput
- func (s *RevokeNASSecurityGroupIngressInput) SetNASSecurityGroupName(v string) *RevokeNASSecurityGroupIngressInput
- func (s *RevokeNASSecurityGroupIngressInput) SetSecurityGroupName(v string) *RevokeNASSecurityGroupIngressInput
- func (s RevokeNASSecurityGroupIngressInput) String() string
- type RevokeNASSecurityGroupIngressOutput
- type SecurityGroup
Constants ¶
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 ¶
func (s AuthorizeNASSecurityGroupIngressInput) GoString() string
GoString returns the string representation
func (*AuthorizeNASSecurityGroupIngressInput) SetCIDRIP ¶
func (s *AuthorizeNASSecurityGroupIngressInput) SetCIDRIP(v string) *AuthorizeNASSecurityGroupIngressInput
SetCIDRIP sets the CIDRIP field's value.
func (*AuthorizeNASSecurityGroupIngressInput) SetNASSecurityGroupName ¶
func (s *AuthorizeNASSecurityGroupIngressInput) SetNASSecurityGroupName(v string) *AuthorizeNASSecurityGroupIngressInput
SetNASSecurityGroupName sets the NASSecurityGroupName field's value.
func (*AuthorizeNASSecurityGroupIngressInput) SetSecurityGroupName ¶
func (s *AuthorizeNASSecurityGroupIngressInput) SetSecurityGroupName(v string) *AuthorizeNASSecurityGroupIngressInput
SetSecurityGroupName sets the SecurityGroupName field's value.
func (AuthorizeNASSecurityGroupIngressInput) String ¶
func (s AuthorizeNASSecurityGroupIngressInput) String() string
String returns the string representation
type AuthorizeNASSecurityGroupIngressOutput ¶
type AuthorizeNASSecurityGroupIngressOutput struct { NASSecurityGroup *NASSecurityGroup `type:"structure"` // contains filtered or unexported fields }
func (AuthorizeNASSecurityGroupIngressOutput) GoString ¶
func (s AuthorizeNASSecurityGroupIngressOutput) GoString() string
GoString returns the string representation
func (*AuthorizeNASSecurityGroupIngressOutput) SetNASSecurityGroup ¶
func (s *AuthorizeNASSecurityGroupIngressOutput) SetNASSecurityGroup(v *NASSecurityGroup) *AuthorizeNASSecurityGroupIngressOutput
SetNASSecurityGroup sets the NASSecurityGroup field's value.
func (AuthorizeNASSecurityGroupIngressOutput) String ¶
func (s AuthorizeNASSecurityGroupIngressOutput) String() 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 ¶
func (s *CreateNASInstanceInput) SetNetworkId(v string) *CreateNASInstanceInput
SetNetworkId sets the NetworkId field's value.
func (*CreateNASInstanceInput) SetProtocol ¶
func (s *CreateNASInstanceInput) SetProtocol(v string) *CreateNASInstanceInput
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 ¶
func (s *CreateNASInstanceOutput) SetNASInstance(v *NASInstance) *CreateNASInstanceOutput
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 ¶
func (s *CreateNASSecurityGroupInput) SetAvailabilityZone(v string) *CreateNASSecurityGroupInput
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 ¶
func (s CreateNASSecurityGroupInput) String() 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 ¶
func (s *CreateNASSecurityGroupOutput) SetNASSecurityGroup(v *NASSecurityGroup) *CreateNASSecurityGroupOutput
SetNASSecurityGroup sets the NASSecurityGroup field's value.
func (CreateNASSecurityGroupOutput) String ¶
func (s CreateNASSecurityGroupOutput) String() 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 ¶
func (s *DeleteNASInstanceOutput) SetNASInstance(v *NASInstance) *DeleteNASInstanceOutput
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 ¶
func (s DeleteNASSecurityGroupInput) String() 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 ¶
func (s DeleteNASSecurityGroupOutput) String() 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 ¶
func (s *DescribeNASInstancesOutput) SetNASInstances(v []*NASInstance) *DescribeNASInstancesOutput
SetNASInstances sets the NASInstances field's value.
func (DescribeNASInstancesOutput) String ¶
func (s DescribeNASInstancesOutput) String() 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 ¶
func (s DescribeNASSecurityGroupsInput) GoString() string
GoString returns the string representation
func (*DescribeNASSecurityGroupsInput) SetNASSecurityGroupName ¶
func (s *DescribeNASSecurityGroupsInput) SetNASSecurityGroupName(v string) *DescribeNASSecurityGroupsInput
SetNASSecurityGroupName sets the NASSecurityGroupName field's value.
func (DescribeNASSecurityGroupsInput) String ¶
func (s DescribeNASSecurityGroupsInput) String() 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 ¶
func (s DescribeNASSecurityGroupsOutput) GoString() string
GoString returns the string representation
func (*DescribeNASSecurityGroupsOutput) SetNASSecurityGroups ¶
func (s *DescribeNASSecurityGroupsOutput) SetNASSecurityGroups(v []*NASSecurityGroup) *DescribeNASSecurityGroupsOutput
SetNASSecurityGroups sets the NASSecurityGroups field's value.
func (DescribeNASSecurityGroupsOutput) String ¶
func (s DescribeNASSecurityGroupsOutput) String() 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) SetAddress ¶
SetAddress sets the Address field's value.
func (*Endpoint) SetPrivateAddress ¶
SetPrivateAddress sets the PrivateAddress field's value.
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 ¶
func (s *GetMetricStatisticsInput) SetDimensions(v []*RequestDimensionsStruct) *GetMetricStatisticsInput
SetDimensions sets the Dimensions field's value.
func (*GetMetricStatisticsInput) SetEndTime ¶
func (s *GetMetricStatisticsInput) SetEndTime(v time.Time) *GetMetricStatisticsInput
SetEndTime sets the EndTime field's value.
func (*GetMetricStatisticsInput) SetMetricName ¶
func (s *GetMetricStatisticsInput) SetMetricName(v string) *GetMetricStatisticsInput
SetMetricName sets the MetricName field's value.
func (*GetMetricStatisticsInput) SetStartTime ¶
func (s *GetMetricStatisticsInput) SetStartTime(v time.Time) *GetMetricStatisticsInput
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 ¶
func (s *GetMetricStatisticsOutput) SetDatapoints(v []*Member) *GetMetricStatisticsOutput
SetDatapoints sets the Datapoints field's value.
func (*GetMetricStatisticsOutput) SetLabel ¶
func (s *GetMetricStatisticsOutput) SetLabel(v string) *GetMetricStatisticsOutput
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 }
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) SetSampleCount ¶
SetSampleCount sets the SampleCount field's value.
func (*Member) SetTargetName ¶
SetTargetName sets the TargetName field's value.
func (*Member) SetTimestamp ¶
SetTimestamp sets the Timestamp field's value.
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 ¶
func (s *ModifyNASInstanceInput) SetDomainControllers(v []*RequestDomainControllersStruct) *ModifyNASInstanceInput
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 ¶
func (s *ModifyNASInstanceInput) SetNetworkId(v string) *ModifyNASInstanceInput
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 ¶
func (s *ModifyNASInstanceOutput) SetNASInstance(v *NASInstance) *ModifyNASInstanceOutput
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 ¶
func (s ModifyNASSecurityGroupInput) String() 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 ¶
func (s *ModifyNASSecurityGroupOutput) SetNASSecurityGroup(v *NASSecurityGroup) *ModifyNASSecurityGroupOutput
SetNASSecurityGroup sets the NASSecurityGroup field's value.
func (ModifyNASSecurityGroupOutput) String ¶
func (s ModifyNASSecurityGroupOutput) String() 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 ¶
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 ¶
func (s *RequestDimensionsStruct) SetName(v string) *RequestDimensionsStruct
SetName sets the Name field's value.
func (*RequestDimensionsStruct) SetValue ¶
func (s *RequestDimensionsStruct) SetValue(v string) *RequestDimensionsStruct
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 ¶
func (s RequestDomainControllersStruct) GoString() string
GoString returns the string representation
func (*RequestDomainControllersStruct) SetHostname ¶
func (s *RequestDomainControllersStruct) SetHostname(v string) *RequestDomainControllersStruct
SetHostname sets the Hostname field's value.
func (*RequestDomainControllersStruct) SetIPAddress ¶
func (s *RequestDomainControllersStruct) SetIPAddress(v string) *RequestDomainControllersStruct
SetIPAddress sets the IPAddress field's value.
func (RequestDomainControllersStruct) String ¶
func (s RequestDomainControllersStruct) String() 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 ¶
func (s RevokeNASSecurityGroupIngressInput) GoString() string
GoString returns the string representation
func (*RevokeNASSecurityGroupIngressInput) SetCIDRIP ¶
func (s *RevokeNASSecurityGroupIngressInput) SetCIDRIP(v string) *RevokeNASSecurityGroupIngressInput
SetCIDRIP sets the CIDRIP field's value.
func (*RevokeNASSecurityGroupIngressInput) SetNASSecurityGroupName ¶
func (s *RevokeNASSecurityGroupIngressInput) SetNASSecurityGroupName(v string) *RevokeNASSecurityGroupIngressInput
SetNASSecurityGroupName sets the NASSecurityGroupName field's value.
func (*RevokeNASSecurityGroupIngressInput) SetSecurityGroupName ¶
func (s *RevokeNASSecurityGroupIngressInput) SetSecurityGroupName(v string) *RevokeNASSecurityGroupIngressInput
SetSecurityGroupName sets the SecurityGroupName field's value.
func (RevokeNASSecurityGroupIngressInput) String ¶
func (s RevokeNASSecurityGroupIngressInput) String() string
String returns the string representation
type RevokeNASSecurityGroupIngressOutput ¶
type RevokeNASSecurityGroupIngressOutput struct { NASSecurityGroup *NASSecurityGroup `type:"structure"` // contains filtered or unexported fields }
func (RevokeNASSecurityGroupIngressOutput) GoString ¶
func (s RevokeNASSecurityGroupIngressOutput) GoString() string
GoString returns the string representation
func (*RevokeNASSecurityGroupIngressOutput) SetNASSecurityGroup ¶
func (s *RevokeNASSecurityGroupIngressOutput) SetNASSecurityGroup(v *NASSecurityGroup) *RevokeNASSecurityGroupIngressOutput
SetNASSecurityGroup sets the NASSecurityGroup field's value.
func (RevokeNASSecurityGroupIngressOutput) String ¶
func (s RevokeNASSecurityGroupIngressOutput) String() 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