Documentation ¶
Overview ¶
Package emr provides a client for Amazon Elastic MapReduce.
Index ¶
- Constants
- type AddInstanceGroupsInput
- func (s AddInstanceGroupsInput) GoString() string
- func (s *AddInstanceGroupsInput) SetInstanceGroups(v []*InstanceGroupConfig) *AddInstanceGroupsInput
- func (s *AddInstanceGroupsInput) SetJobFlowId(v string) *AddInstanceGroupsInput
- func (s AddInstanceGroupsInput) String() string
- func (s *AddInstanceGroupsInput) Validate() error
- type AddInstanceGroupsOutput
- type AddJobFlowStepsInput
- type AddJobFlowStepsOutput
- type AddTagsInput
- type AddTagsOutput
- type Application
- func (s Application) GoString() string
- func (s *Application) SetAdditionalInfo(v map[string]*string) *Application
- func (s *Application) SetArgs(v []*string) *Application
- func (s *Application) SetName(v string) *Application
- func (s *Application) SetVersion(v string) *Application
- func (s Application) String() string
- type BootstrapActionConfig
- func (s BootstrapActionConfig) GoString() string
- func (s *BootstrapActionConfig) SetName(v string) *BootstrapActionConfig
- func (s *BootstrapActionConfig) SetScriptBootstrapAction(v *ScriptBootstrapActionConfig) *BootstrapActionConfig
- func (s BootstrapActionConfig) String() string
- func (s *BootstrapActionConfig) Validate() error
- type BootstrapActionDetail
- type Cluster
- func (s Cluster) GoString() string
- func (s *Cluster) SetApplications(v []*Application) *Cluster
- func (s *Cluster) SetAutoTerminate(v bool) *Cluster
- func (s *Cluster) SetConfigurations(v []*Configuration) *Cluster
- func (s *Cluster) SetEc2InstanceAttributes(v *Ec2InstanceAttributes) *Cluster
- func (s *Cluster) SetId(v string) *Cluster
- func (s *Cluster) SetLogUri(v string) *Cluster
- func (s *Cluster) SetMasterPublicDnsName(v string) *Cluster
- func (s *Cluster) SetName(v string) *Cluster
- func (s *Cluster) SetNormalizedInstanceHours(v int64) *Cluster
- func (s *Cluster) SetReleaseLabel(v string) *Cluster
- func (s *Cluster) SetRequestedAmiVersion(v string) *Cluster
- func (s *Cluster) SetRunningAmiVersion(v string) *Cluster
- func (s *Cluster) SetSecurityConfiguration(v string) *Cluster
- func (s *Cluster) SetServiceRole(v string) *Cluster
- func (s *Cluster) SetStatus(v *ClusterStatus) *Cluster
- func (s *Cluster) SetTags(v []*Tag) *Cluster
- func (s *Cluster) SetTerminationProtected(v bool) *Cluster
- func (s *Cluster) SetVisibleToAllUsers(v bool) *Cluster
- func (s Cluster) String() string
- type ClusterStateChangeReason
- type ClusterStatus
- type ClusterSummary
- func (s ClusterSummary) GoString() string
- func (s *ClusterSummary) SetId(v string) *ClusterSummary
- func (s *ClusterSummary) SetName(v string) *ClusterSummary
- func (s *ClusterSummary) SetNormalizedInstanceHours(v int64) *ClusterSummary
- func (s *ClusterSummary) SetStatus(v *ClusterStatus) *ClusterSummary
- func (s ClusterSummary) String() string
- type ClusterTimeline
- func (s ClusterTimeline) GoString() string
- func (s *ClusterTimeline) SetCreationDateTime(v time.Time) *ClusterTimeline
- func (s *ClusterTimeline) SetEndDateTime(v time.Time) *ClusterTimeline
- func (s *ClusterTimeline) SetReadyDateTime(v time.Time) *ClusterTimeline
- func (s ClusterTimeline) String() string
- type Command
- type Configuration
- type CreateSecurityConfigurationInput
- func (s CreateSecurityConfigurationInput) GoString() string
- func (s *CreateSecurityConfigurationInput) SetName(v string) *CreateSecurityConfigurationInput
- func (s *CreateSecurityConfigurationInput) SetSecurityConfiguration(v string) *CreateSecurityConfigurationInput
- func (s CreateSecurityConfigurationInput) String() string
- func (s *CreateSecurityConfigurationInput) Validate() error
- type CreateSecurityConfigurationOutput
- func (s CreateSecurityConfigurationOutput) GoString() string
- func (s *CreateSecurityConfigurationOutput) SetCreationDateTime(v time.Time) *CreateSecurityConfigurationOutput
- func (s *CreateSecurityConfigurationOutput) SetName(v string) *CreateSecurityConfigurationOutput
- func (s CreateSecurityConfigurationOutput) String() string
- type DeleteSecurityConfigurationInput
- type DeleteSecurityConfigurationOutput
- type DescribeClusterInput
- type DescribeClusterOutput
- type DescribeJobFlowsInput
- func (s DescribeJobFlowsInput) GoString() string
- func (s *DescribeJobFlowsInput) SetCreatedAfter(v time.Time) *DescribeJobFlowsInput
- func (s *DescribeJobFlowsInput) SetCreatedBefore(v time.Time) *DescribeJobFlowsInput
- func (s *DescribeJobFlowsInput) SetJobFlowIds(v []*string) *DescribeJobFlowsInput
- func (s *DescribeJobFlowsInput) SetJobFlowStates(v []*string) *DescribeJobFlowsInput
- func (s DescribeJobFlowsInput) String() string
- type DescribeJobFlowsOutput
- type DescribeSecurityConfigurationInput
- type DescribeSecurityConfigurationOutput
- func (s DescribeSecurityConfigurationOutput) GoString() string
- func (s *DescribeSecurityConfigurationOutput) SetCreationDateTime(v time.Time) *DescribeSecurityConfigurationOutput
- func (s *DescribeSecurityConfigurationOutput) SetName(v string) *DescribeSecurityConfigurationOutput
- func (s *DescribeSecurityConfigurationOutput) SetSecurityConfiguration(v string) *DescribeSecurityConfigurationOutput
- func (s DescribeSecurityConfigurationOutput) String() string
- type DescribeStepInput
- type DescribeStepOutput
- type EMR
- func (c *EMR) AddInstanceGroups(input *AddInstanceGroupsInput) (*AddInstanceGroupsOutput, error)
- func (c *EMR) AddInstanceGroupsRequest(input *AddInstanceGroupsInput) (req *request.Request, output *AddInstanceGroupsOutput)
- func (c *EMR) AddJobFlowSteps(input *AddJobFlowStepsInput) (*AddJobFlowStepsOutput, error)
- func (c *EMR) AddJobFlowStepsRequest(input *AddJobFlowStepsInput) (req *request.Request, output *AddJobFlowStepsOutput)
- func (c *EMR) AddTags(input *AddTagsInput) (*AddTagsOutput, error)
- func (c *EMR) AddTagsRequest(input *AddTagsInput) (req *request.Request, output *AddTagsOutput)
- func (c *EMR) CreateSecurityConfiguration(input *CreateSecurityConfigurationInput) (*CreateSecurityConfigurationOutput, error)
- func (c *EMR) CreateSecurityConfigurationRequest(input *CreateSecurityConfigurationInput) (req *request.Request, output *CreateSecurityConfigurationOutput)
- func (c *EMR) DeleteSecurityConfiguration(input *DeleteSecurityConfigurationInput) (*DeleteSecurityConfigurationOutput, error)
- func (c *EMR) DeleteSecurityConfigurationRequest(input *DeleteSecurityConfigurationInput) (req *request.Request, output *DeleteSecurityConfigurationOutput)
- func (c *EMR) DescribeCluster(input *DescribeClusterInput) (*DescribeClusterOutput, error)
- func (c *EMR) DescribeClusterRequest(input *DescribeClusterInput) (req *request.Request, output *DescribeClusterOutput)
- func (c *EMR) DescribeJobFlows(input *DescribeJobFlowsInput) (*DescribeJobFlowsOutput, error)
- func (c *EMR) DescribeJobFlowsRequest(input *DescribeJobFlowsInput) (req *request.Request, output *DescribeJobFlowsOutput)
- func (c *EMR) DescribeSecurityConfiguration(input *DescribeSecurityConfigurationInput) (*DescribeSecurityConfigurationOutput, error)
- func (c *EMR) DescribeSecurityConfigurationRequest(input *DescribeSecurityConfigurationInput) (req *request.Request, output *DescribeSecurityConfigurationOutput)
- func (c *EMR) DescribeStep(input *DescribeStepInput) (*DescribeStepOutput, error)
- func (c *EMR) DescribeStepRequest(input *DescribeStepInput) (req *request.Request, output *DescribeStepOutput)
- func (c *EMR) ListBootstrapActions(input *ListBootstrapActionsInput) (*ListBootstrapActionsOutput, error)
- func (c *EMR) ListBootstrapActionsPages(input *ListBootstrapActionsInput, ...) error
- func (c *EMR) ListBootstrapActionsRequest(input *ListBootstrapActionsInput) (req *request.Request, output *ListBootstrapActionsOutput)
- func (c *EMR) ListClusters(input *ListClustersInput) (*ListClustersOutput, error)
- func (c *EMR) ListClustersPages(input *ListClustersInput, ...) error
- func (c *EMR) ListClustersRequest(input *ListClustersInput) (req *request.Request, output *ListClustersOutput)
- func (c *EMR) ListInstanceGroups(input *ListInstanceGroupsInput) (*ListInstanceGroupsOutput, error)
- func (c *EMR) ListInstanceGroupsPages(input *ListInstanceGroupsInput, ...) error
- func (c *EMR) ListInstanceGroupsRequest(input *ListInstanceGroupsInput) (req *request.Request, output *ListInstanceGroupsOutput)
- func (c *EMR) ListInstances(input *ListInstancesInput) (*ListInstancesOutput, error)
- func (c *EMR) ListInstancesPages(input *ListInstancesInput, ...) error
- func (c *EMR) ListInstancesRequest(input *ListInstancesInput) (req *request.Request, output *ListInstancesOutput)
- func (c *EMR) ListSecurityConfigurations(input *ListSecurityConfigurationsInput) (*ListSecurityConfigurationsOutput, error)
- func (c *EMR) ListSecurityConfigurationsRequest(input *ListSecurityConfigurationsInput) (req *request.Request, output *ListSecurityConfigurationsOutput)
- func (c *EMR) ListSteps(input *ListStepsInput) (*ListStepsOutput, error)
- func (c *EMR) ListStepsPages(input *ListStepsInput, ...) error
- func (c *EMR) ListStepsRequest(input *ListStepsInput) (req *request.Request, output *ListStepsOutput)
- func (c *EMR) ModifyInstanceGroups(input *ModifyInstanceGroupsInput) (*ModifyInstanceGroupsOutput, error)
- func (c *EMR) ModifyInstanceGroupsRequest(input *ModifyInstanceGroupsInput) (req *request.Request, output *ModifyInstanceGroupsOutput)
- func (c *EMR) RemoveTags(input *RemoveTagsInput) (*RemoveTagsOutput, error)
- func (c *EMR) RemoveTagsRequest(input *RemoveTagsInput) (req *request.Request, output *RemoveTagsOutput)
- func (c *EMR) RunJobFlow(input *RunJobFlowInput) (*RunJobFlowOutput, error)
- func (c *EMR) RunJobFlowRequest(input *RunJobFlowInput) (req *request.Request, output *RunJobFlowOutput)
- func (c *EMR) SetTerminationProtection(input *SetTerminationProtectionInput) (*SetTerminationProtectionOutput, error)
- func (c *EMR) SetTerminationProtectionRequest(input *SetTerminationProtectionInput) (req *request.Request, output *SetTerminationProtectionOutput)
- func (c *EMR) SetVisibleToAllUsers(input *SetVisibleToAllUsersInput) (*SetVisibleToAllUsersOutput, error)
- func (c *EMR) SetVisibleToAllUsersRequest(input *SetVisibleToAllUsersInput) (req *request.Request, output *SetVisibleToAllUsersOutput)
- func (c *EMR) TerminateJobFlows(input *TerminateJobFlowsInput) (*TerminateJobFlowsOutput, error)
- func (c *EMR) TerminateJobFlowsRequest(input *TerminateJobFlowsInput) (req *request.Request, output *TerminateJobFlowsOutput)
- func (c *EMR) WaitUntilClusterRunning(input *DescribeClusterInput) error
- func (c *EMR) WaitUntilStepComplete(input *DescribeStepInput) error
- type EbsBlockDevice
- type EbsBlockDeviceConfig
- func (s EbsBlockDeviceConfig) GoString() string
- func (s *EbsBlockDeviceConfig) SetVolumeSpecification(v *VolumeSpecification) *EbsBlockDeviceConfig
- func (s *EbsBlockDeviceConfig) SetVolumesPerInstance(v int64) *EbsBlockDeviceConfig
- func (s EbsBlockDeviceConfig) String() string
- func (s *EbsBlockDeviceConfig) Validate() error
- type EbsConfiguration
- type EbsVolume
- type Ec2InstanceAttributes
- func (s Ec2InstanceAttributes) GoString() string
- func (s *Ec2InstanceAttributes) SetAdditionalMasterSecurityGroups(v []*string) *Ec2InstanceAttributes
- func (s *Ec2InstanceAttributes) SetAdditionalSlaveSecurityGroups(v []*string) *Ec2InstanceAttributes
- func (s *Ec2InstanceAttributes) SetEc2AvailabilityZone(v string) *Ec2InstanceAttributes
- func (s *Ec2InstanceAttributes) SetEc2KeyName(v string) *Ec2InstanceAttributes
- func (s *Ec2InstanceAttributes) SetEc2SubnetId(v string) *Ec2InstanceAttributes
- func (s *Ec2InstanceAttributes) SetEmrManagedMasterSecurityGroup(v string) *Ec2InstanceAttributes
- func (s *Ec2InstanceAttributes) SetEmrManagedSlaveSecurityGroup(v string) *Ec2InstanceAttributes
- func (s *Ec2InstanceAttributes) SetIamInstanceProfile(v string) *Ec2InstanceAttributes
- func (s *Ec2InstanceAttributes) SetServiceAccessSecurityGroup(v string) *Ec2InstanceAttributes
- func (s Ec2InstanceAttributes) String() string
- type FailureDetails
- type HadoopJarStepConfig
- func (s HadoopJarStepConfig) GoString() string
- func (s *HadoopJarStepConfig) SetArgs(v []*string) *HadoopJarStepConfig
- func (s *HadoopJarStepConfig) SetJar(v string) *HadoopJarStepConfig
- func (s *HadoopJarStepConfig) SetMainClass(v string) *HadoopJarStepConfig
- func (s *HadoopJarStepConfig) SetProperties(v []*KeyValue) *HadoopJarStepConfig
- func (s HadoopJarStepConfig) String() string
- func (s *HadoopJarStepConfig) Validate() error
- type HadoopStepConfig
- func (s HadoopStepConfig) GoString() string
- func (s *HadoopStepConfig) SetArgs(v []*string) *HadoopStepConfig
- func (s *HadoopStepConfig) SetJar(v string) *HadoopStepConfig
- func (s *HadoopStepConfig) SetMainClass(v string) *HadoopStepConfig
- func (s *HadoopStepConfig) SetProperties(v map[string]*string) *HadoopStepConfig
- func (s HadoopStepConfig) String() string
- type Instance
- func (s Instance) GoString() string
- func (s *Instance) SetEbsVolumes(v []*EbsVolume) *Instance
- func (s *Instance) SetEc2InstanceId(v string) *Instance
- func (s *Instance) SetId(v string) *Instance
- func (s *Instance) SetInstanceGroupId(v string) *Instance
- func (s *Instance) SetPrivateDnsName(v string) *Instance
- func (s *Instance) SetPrivateIpAddress(v string) *Instance
- func (s *Instance) SetPublicDnsName(v string) *Instance
- func (s *Instance) SetPublicIpAddress(v string) *Instance
- func (s *Instance) SetStatus(v *InstanceStatus) *Instance
- func (s Instance) String() string
- type InstanceGroup
- func (s InstanceGroup) GoString() string
- func (s *InstanceGroup) SetBidPrice(v string) *InstanceGroup
- func (s *InstanceGroup) SetConfigurations(v []*Configuration) *InstanceGroup
- func (s *InstanceGroup) SetEbsBlockDevices(v []*EbsBlockDevice) *InstanceGroup
- func (s *InstanceGroup) SetEbsOptimized(v bool) *InstanceGroup
- func (s *InstanceGroup) SetId(v string) *InstanceGroup
- func (s *InstanceGroup) SetInstanceGroupType(v string) *InstanceGroup
- func (s *InstanceGroup) SetInstanceType(v string) *InstanceGroup
- func (s *InstanceGroup) SetMarket(v string) *InstanceGroup
- func (s *InstanceGroup) SetName(v string) *InstanceGroup
- func (s *InstanceGroup) SetRequestedInstanceCount(v int64) *InstanceGroup
- func (s *InstanceGroup) SetRunningInstanceCount(v int64) *InstanceGroup
- func (s *InstanceGroup) SetShrinkPolicy(v *ShrinkPolicy) *InstanceGroup
- func (s *InstanceGroup) SetStatus(v *InstanceGroupStatus) *InstanceGroup
- func (s InstanceGroup) String() string
- type InstanceGroupConfig
- func (s InstanceGroupConfig) GoString() string
- func (s *InstanceGroupConfig) SetBidPrice(v string) *InstanceGroupConfig
- func (s *InstanceGroupConfig) SetConfigurations(v []*Configuration) *InstanceGroupConfig
- func (s *InstanceGroupConfig) SetEbsConfiguration(v *EbsConfiguration) *InstanceGroupConfig
- func (s *InstanceGroupConfig) SetInstanceCount(v int64) *InstanceGroupConfig
- func (s *InstanceGroupConfig) SetInstanceRole(v string) *InstanceGroupConfig
- func (s *InstanceGroupConfig) SetInstanceType(v string) *InstanceGroupConfig
- func (s *InstanceGroupConfig) SetMarket(v string) *InstanceGroupConfig
- func (s *InstanceGroupConfig) SetName(v string) *InstanceGroupConfig
- func (s InstanceGroupConfig) String() string
- func (s *InstanceGroupConfig) Validate() error
- type InstanceGroupDetail
- func (s InstanceGroupDetail) GoString() string
- func (s *InstanceGroupDetail) SetBidPrice(v string) *InstanceGroupDetail
- func (s *InstanceGroupDetail) SetCreationDateTime(v time.Time) *InstanceGroupDetail
- func (s *InstanceGroupDetail) SetEndDateTime(v time.Time) *InstanceGroupDetail
- func (s *InstanceGroupDetail) SetInstanceGroupId(v string) *InstanceGroupDetail
- func (s *InstanceGroupDetail) SetInstanceRequestCount(v int64) *InstanceGroupDetail
- func (s *InstanceGroupDetail) SetInstanceRole(v string) *InstanceGroupDetail
- func (s *InstanceGroupDetail) SetInstanceRunningCount(v int64) *InstanceGroupDetail
- func (s *InstanceGroupDetail) SetInstanceType(v string) *InstanceGroupDetail
- func (s *InstanceGroupDetail) SetLastStateChangeReason(v string) *InstanceGroupDetail
- func (s *InstanceGroupDetail) SetMarket(v string) *InstanceGroupDetail
- func (s *InstanceGroupDetail) SetName(v string) *InstanceGroupDetail
- func (s *InstanceGroupDetail) SetReadyDateTime(v time.Time) *InstanceGroupDetail
- func (s *InstanceGroupDetail) SetStartDateTime(v time.Time) *InstanceGroupDetail
- func (s *InstanceGroupDetail) SetState(v string) *InstanceGroupDetail
- func (s InstanceGroupDetail) String() string
- type InstanceGroupModifyConfig
- func (s InstanceGroupModifyConfig) GoString() string
- func (s *InstanceGroupModifyConfig) SetEC2InstanceIdsToTerminate(v []*string) *InstanceGroupModifyConfig
- func (s *InstanceGroupModifyConfig) SetInstanceCount(v int64) *InstanceGroupModifyConfig
- func (s *InstanceGroupModifyConfig) SetInstanceGroupId(v string) *InstanceGroupModifyConfig
- func (s *InstanceGroupModifyConfig) SetShrinkPolicy(v *ShrinkPolicy) *InstanceGroupModifyConfig
- func (s InstanceGroupModifyConfig) String() string
- func (s *InstanceGroupModifyConfig) Validate() error
- type InstanceGroupStateChangeReason
- type InstanceGroupStatus
- func (s InstanceGroupStatus) GoString() string
- func (s *InstanceGroupStatus) SetState(v string) *InstanceGroupStatus
- func (s *InstanceGroupStatus) SetStateChangeReason(v *InstanceGroupStateChangeReason) *InstanceGroupStatus
- func (s *InstanceGroupStatus) SetTimeline(v *InstanceGroupTimeline) *InstanceGroupStatus
- func (s InstanceGroupStatus) String() string
- type InstanceGroupTimeline
- func (s InstanceGroupTimeline) GoString() string
- func (s *InstanceGroupTimeline) SetCreationDateTime(v time.Time) *InstanceGroupTimeline
- func (s *InstanceGroupTimeline) SetEndDateTime(v time.Time) *InstanceGroupTimeline
- func (s *InstanceGroupTimeline) SetReadyDateTime(v time.Time) *InstanceGroupTimeline
- func (s InstanceGroupTimeline) String() string
- type InstanceResizePolicy
- func (s InstanceResizePolicy) GoString() string
- func (s *InstanceResizePolicy) SetInstanceTerminationTimeout(v int64) *InstanceResizePolicy
- func (s *InstanceResizePolicy) SetInstancesToProtect(v []*string) *InstanceResizePolicy
- func (s *InstanceResizePolicy) SetInstancesToTerminate(v []*string) *InstanceResizePolicy
- func (s InstanceResizePolicy) String() string
- type InstanceStateChangeReason
- type InstanceStatus
- func (s InstanceStatus) GoString() string
- func (s *InstanceStatus) SetState(v string) *InstanceStatus
- func (s *InstanceStatus) SetStateChangeReason(v *InstanceStateChangeReason) *InstanceStatus
- func (s *InstanceStatus) SetTimeline(v *InstanceTimeline) *InstanceStatus
- func (s InstanceStatus) String() string
- type InstanceTimeline
- func (s InstanceTimeline) GoString() string
- func (s *InstanceTimeline) SetCreationDateTime(v time.Time) *InstanceTimeline
- func (s *InstanceTimeline) SetEndDateTime(v time.Time) *InstanceTimeline
- func (s *InstanceTimeline) SetReadyDateTime(v time.Time) *InstanceTimeline
- func (s InstanceTimeline) String() string
- type JobFlowDetail
- func (s JobFlowDetail) GoString() string
- func (s *JobFlowDetail) SetAmiVersion(v string) *JobFlowDetail
- func (s *JobFlowDetail) SetBootstrapActions(v []*BootstrapActionDetail) *JobFlowDetail
- func (s *JobFlowDetail) SetExecutionStatusDetail(v *JobFlowExecutionStatusDetail) *JobFlowDetail
- func (s *JobFlowDetail) SetInstances(v *JobFlowInstancesDetail) *JobFlowDetail
- func (s *JobFlowDetail) SetJobFlowId(v string) *JobFlowDetail
- func (s *JobFlowDetail) SetJobFlowRole(v string) *JobFlowDetail
- func (s *JobFlowDetail) SetLogUri(v string) *JobFlowDetail
- func (s *JobFlowDetail) SetName(v string) *JobFlowDetail
- func (s *JobFlowDetail) SetServiceRole(v string) *JobFlowDetail
- func (s *JobFlowDetail) SetSteps(v []*StepDetail) *JobFlowDetail
- func (s *JobFlowDetail) SetSupportedProducts(v []*string) *JobFlowDetail
- func (s *JobFlowDetail) SetVisibleToAllUsers(v bool) *JobFlowDetail
- func (s JobFlowDetail) String() string
- type JobFlowExecutionStatusDetail
- func (s JobFlowExecutionStatusDetail) GoString() string
- func (s *JobFlowExecutionStatusDetail) SetCreationDateTime(v time.Time) *JobFlowExecutionStatusDetail
- func (s *JobFlowExecutionStatusDetail) SetEndDateTime(v time.Time) *JobFlowExecutionStatusDetail
- func (s *JobFlowExecutionStatusDetail) SetLastStateChangeReason(v string) *JobFlowExecutionStatusDetail
- func (s *JobFlowExecutionStatusDetail) SetReadyDateTime(v time.Time) *JobFlowExecutionStatusDetail
- func (s *JobFlowExecutionStatusDetail) SetStartDateTime(v time.Time) *JobFlowExecutionStatusDetail
- func (s *JobFlowExecutionStatusDetail) SetState(v string) *JobFlowExecutionStatusDetail
- func (s JobFlowExecutionStatusDetail) String() string
- type JobFlowInstancesConfig
- func (s JobFlowInstancesConfig) GoString() string
- func (s *JobFlowInstancesConfig) SetAdditionalMasterSecurityGroups(v []*string) *JobFlowInstancesConfig
- func (s *JobFlowInstancesConfig) SetAdditionalSlaveSecurityGroups(v []*string) *JobFlowInstancesConfig
- func (s *JobFlowInstancesConfig) SetEc2KeyName(v string) *JobFlowInstancesConfig
- func (s *JobFlowInstancesConfig) SetEc2SubnetId(v string) *JobFlowInstancesConfig
- func (s *JobFlowInstancesConfig) SetEmrManagedMasterSecurityGroup(v string) *JobFlowInstancesConfig
- func (s *JobFlowInstancesConfig) SetEmrManagedSlaveSecurityGroup(v string) *JobFlowInstancesConfig
- func (s *JobFlowInstancesConfig) SetHadoopVersion(v string) *JobFlowInstancesConfig
- func (s *JobFlowInstancesConfig) SetInstanceCount(v int64) *JobFlowInstancesConfig
- func (s *JobFlowInstancesConfig) SetInstanceGroups(v []*InstanceGroupConfig) *JobFlowInstancesConfig
- func (s *JobFlowInstancesConfig) SetKeepJobFlowAliveWhenNoSteps(v bool) *JobFlowInstancesConfig
- func (s *JobFlowInstancesConfig) SetMasterInstanceType(v string) *JobFlowInstancesConfig
- func (s *JobFlowInstancesConfig) SetPlacement(v *PlacementType) *JobFlowInstancesConfig
- func (s *JobFlowInstancesConfig) SetServiceAccessSecurityGroup(v string) *JobFlowInstancesConfig
- func (s *JobFlowInstancesConfig) SetSlaveInstanceType(v string) *JobFlowInstancesConfig
- func (s *JobFlowInstancesConfig) SetTerminationProtected(v bool) *JobFlowInstancesConfig
- func (s JobFlowInstancesConfig) String() string
- func (s *JobFlowInstancesConfig) Validate() error
- type JobFlowInstancesDetail
- func (s JobFlowInstancesDetail) GoString() string
- func (s *JobFlowInstancesDetail) SetEc2KeyName(v string) *JobFlowInstancesDetail
- func (s *JobFlowInstancesDetail) SetEc2SubnetId(v string) *JobFlowInstancesDetail
- func (s *JobFlowInstancesDetail) SetHadoopVersion(v string) *JobFlowInstancesDetail
- func (s *JobFlowInstancesDetail) SetInstanceCount(v int64) *JobFlowInstancesDetail
- func (s *JobFlowInstancesDetail) SetInstanceGroups(v []*InstanceGroupDetail) *JobFlowInstancesDetail
- func (s *JobFlowInstancesDetail) SetKeepJobFlowAliveWhenNoSteps(v bool) *JobFlowInstancesDetail
- func (s *JobFlowInstancesDetail) SetMasterInstanceId(v string) *JobFlowInstancesDetail
- func (s *JobFlowInstancesDetail) SetMasterInstanceType(v string) *JobFlowInstancesDetail
- func (s *JobFlowInstancesDetail) SetMasterPublicDnsName(v string) *JobFlowInstancesDetail
- func (s *JobFlowInstancesDetail) SetNormalizedInstanceHours(v int64) *JobFlowInstancesDetail
- func (s *JobFlowInstancesDetail) SetPlacement(v *PlacementType) *JobFlowInstancesDetail
- func (s *JobFlowInstancesDetail) SetSlaveInstanceType(v string) *JobFlowInstancesDetail
- func (s *JobFlowInstancesDetail) SetTerminationProtected(v bool) *JobFlowInstancesDetail
- func (s JobFlowInstancesDetail) String() string
- type KeyValue
- type ListBootstrapActionsInput
- func (s ListBootstrapActionsInput) GoString() string
- func (s *ListBootstrapActionsInput) SetClusterId(v string) *ListBootstrapActionsInput
- func (s *ListBootstrapActionsInput) SetMarker(v string) *ListBootstrapActionsInput
- func (s ListBootstrapActionsInput) String() string
- func (s *ListBootstrapActionsInput) Validate() error
- type ListBootstrapActionsOutput
- type ListClustersInput
- func (s ListClustersInput) GoString() string
- func (s *ListClustersInput) SetClusterStates(v []*string) *ListClustersInput
- func (s *ListClustersInput) SetCreatedAfter(v time.Time) *ListClustersInput
- func (s *ListClustersInput) SetCreatedBefore(v time.Time) *ListClustersInput
- func (s *ListClustersInput) SetMarker(v string) *ListClustersInput
- func (s ListClustersInput) String() string
- type ListClustersOutput
- type ListInstanceGroupsInput
- func (s ListInstanceGroupsInput) GoString() string
- func (s *ListInstanceGroupsInput) SetClusterId(v string) *ListInstanceGroupsInput
- func (s *ListInstanceGroupsInput) SetMarker(v string) *ListInstanceGroupsInput
- func (s ListInstanceGroupsInput) String() string
- func (s *ListInstanceGroupsInput) Validate() error
- type ListInstanceGroupsOutput
- type ListInstancesInput
- func (s ListInstancesInput) GoString() string
- func (s *ListInstancesInput) SetClusterId(v string) *ListInstancesInput
- func (s *ListInstancesInput) SetInstanceGroupId(v string) *ListInstancesInput
- func (s *ListInstancesInput) SetInstanceGroupTypes(v []*string) *ListInstancesInput
- func (s *ListInstancesInput) SetInstanceStates(v []*string) *ListInstancesInput
- func (s *ListInstancesInput) SetMarker(v string) *ListInstancesInput
- func (s ListInstancesInput) String() string
- func (s *ListInstancesInput) Validate() error
- type ListInstancesOutput
- type ListSecurityConfigurationsInput
- type ListSecurityConfigurationsOutput
- func (s ListSecurityConfigurationsOutput) GoString() string
- func (s *ListSecurityConfigurationsOutput) SetMarker(v string) *ListSecurityConfigurationsOutput
- func (s *ListSecurityConfigurationsOutput) SetSecurityConfigurations(v []*SecurityConfigurationSummary) *ListSecurityConfigurationsOutput
- func (s ListSecurityConfigurationsOutput) String() string
- type ListStepsInput
- func (s ListStepsInput) GoString() string
- func (s *ListStepsInput) SetClusterId(v string) *ListStepsInput
- func (s *ListStepsInput) SetMarker(v string) *ListStepsInput
- func (s *ListStepsInput) SetStepIds(v []*string) *ListStepsInput
- func (s *ListStepsInput) SetStepStates(v []*string) *ListStepsInput
- func (s ListStepsInput) String() string
- func (s *ListStepsInput) Validate() error
- type ListStepsOutput
- type ModifyInstanceGroupsInput
- type ModifyInstanceGroupsOutput
- type PlacementType
- type RemoveTagsInput
- type RemoveTagsOutput
- type RunJobFlowInput
- func (s RunJobFlowInput) GoString() string
- func (s *RunJobFlowInput) SetAdditionalInfo(v string) *RunJobFlowInput
- func (s *RunJobFlowInput) SetAmiVersion(v string) *RunJobFlowInput
- func (s *RunJobFlowInput) SetApplications(v []*Application) *RunJobFlowInput
- func (s *RunJobFlowInput) SetBootstrapActions(v []*BootstrapActionConfig) *RunJobFlowInput
- func (s *RunJobFlowInput) SetConfigurations(v []*Configuration) *RunJobFlowInput
- func (s *RunJobFlowInput) SetInstances(v *JobFlowInstancesConfig) *RunJobFlowInput
- func (s *RunJobFlowInput) SetJobFlowRole(v string) *RunJobFlowInput
- func (s *RunJobFlowInput) SetLogUri(v string) *RunJobFlowInput
- func (s *RunJobFlowInput) SetName(v string) *RunJobFlowInput
- func (s *RunJobFlowInput) SetNewSupportedProducts(v []*SupportedProductConfig) *RunJobFlowInput
- func (s *RunJobFlowInput) SetReleaseLabel(v string) *RunJobFlowInput
- func (s *RunJobFlowInput) SetSecurityConfiguration(v string) *RunJobFlowInput
- func (s *RunJobFlowInput) SetServiceRole(v string) *RunJobFlowInput
- func (s *RunJobFlowInput) SetSteps(v []*StepConfig) *RunJobFlowInput
- func (s *RunJobFlowInput) SetSupportedProducts(v []*string) *RunJobFlowInput
- func (s *RunJobFlowInput) SetTags(v []*Tag) *RunJobFlowInput
- func (s *RunJobFlowInput) SetVisibleToAllUsers(v bool) *RunJobFlowInput
- func (s RunJobFlowInput) String() string
- func (s *RunJobFlowInput) Validate() error
- type RunJobFlowOutput
- type ScriptBootstrapActionConfig
- func (s ScriptBootstrapActionConfig) GoString() string
- func (s *ScriptBootstrapActionConfig) SetArgs(v []*string) *ScriptBootstrapActionConfig
- func (s *ScriptBootstrapActionConfig) SetPath(v string) *ScriptBootstrapActionConfig
- func (s ScriptBootstrapActionConfig) String() string
- func (s *ScriptBootstrapActionConfig) Validate() error
- type SecurityConfigurationSummary
- type SetTerminationProtectionInput
- func (s SetTerminationProtectionInput) GoString() string
- func (s *SetTerminationProtectionInput) SetJobFlowIds(v []*string) *SetTerminationProtectionInput
- func (s *SetTerminationProtectionInput) SetTerminationProtected(v bool) *SetTerminationProtectionInput
- func (s SetTerminationProtectionInput) String() string
- func (s *SetTerminationProtectionInput) Validate() error
- type SetTerminationProtectionOutput
- type SetVisibleToAllUsersInput
- func (s SetVisibleToAllUsersInput) GoString() string
- func (s *SetVisibleToAllUsersInput) SetJobFlowIds(v []*string) *SetVisibleToAllUsersInput
- func (s *SetVisibleToAllUsersInput) SetVisibleToAllUsers(v bool) *SetVisibleToAllUsersInput
- func (s SetVisibleToAllUsersInput) String() string
- func (s *SetVisibleToAllUsersInput) Validate() error
- type SetVisibleToAllUsersOutput
- type ShrinkPolicy
- type Step
- type StepConfig
- type StepDetail
- type StepExecutionStatusDetail
- func (s StepExecutionStatusDetail) GoString() string
- func (s *StepExecutionStatusDetail) SetCreationDateTime(v time.Time) *StepExecutionStatusDetail
- func (s *StepExecutionStatusDetail) SetEndDateTime(v time.Time) *StepExecutionStatusDetail
- func (s *StepExecutionStatusDetail) SetLastStateChangeReason(v string) *StepExecutionStatusDetail
- func (s *StepExecutionStatusDetail) SetStartDateTime(v time.Time) *StepExecutionStatusDetail
- func (s *StepExecutionStatusDetail) SetState(v string) *StepExecutionStatusDetail
- func (s StepExecutionStatusDetail) String() string
- type StepStateChangeReason
- type StepStatus
- func (s StepStatus) GoString() string
- func (s *StepStatus) SetFailureDetails(v *FailureDetails) *StepStatus
- func (s *StepStatus) SetState(v string) *StepStatus
- func (s *StepStatus) SetStateChangeReason(v *StepStateChangeReason) *StepStatus
- func (s *StepStatus) SetTimeline(v *StepTimeline) *StepStatus
- func (s StepStatus) String() string
- type StepSummary
- func (s StepSummary) GoString() string
- func (s *StepSummary) SetActionOnFailure(v string) *StepSummary
- func (s *StepSummary) SetConfig(v *HadoopStepConfig) *StepSummary
- func (s *StepSummary) SetId(v string) *StepSummary
- func (s *StepSummary) SetName(v string) *StepSummary
- func (s *StepSummary) SetStatus(v *StepStatus) *StepSummary
- func (s StepSummary) String() string
- type StepTimeline
- type SupportedProductConfig
- type Tag
- type TerminateJobFlowsInput
- type TerminateJobFlowsOutput
- type VolumeSpecification
- func (s VolumeSpecification) GoString() string
- func (s *VolumeSpecification) SetIops(v int64) *VolumeSpecification
- func (s *VolumeSpecification) SetSizeInGB(v int64) *VolumeSpecification
- func (s *VolumeSpecification) SetVolumeType(v string) *VolumeSpecification
- func (s VolumeSpecification) String() string
- func (s *VolumeSpecification) Validate() error
Examples ¶
- EMR.AddInstanceGroups
- EMR.AddJobFlowSteps
- EMR.AddTags
- EMR.CreateSecurityConfiguration
- EMR.DeleteSecurityConfiguration
- EMR.DescribeCluster
- EMR.DescribeJobFlows
- EMR.DescribeSecurityConfiguration
- EMR.DescribeStep
- EMR.ListBootstrapActions
- EMR.ListClusters
- EMR.ListInstanceGroups
- EMR.ListInstances
- EMR.ListSecurityConfigurations
- EMR.ListSteps
- EMR.ModifyInstanceGroups
- EMR.RemoveTags
- EMR.RunJobFlow
- EMR.SetTerminationProtection
- EMR.SetVisibleToAllUsers
- EMR.TerminateJobFlows
Constants ¶
const ( // ActionOnFailureTerminateJobFlow is a ActionOnFailure enum value ActionOnFailureTerminateJobFlow = "TERMINATE_JOB_FLOW" // ActionOnFailureTerminateCluster is a ActionOnFailure enum value ActionOnFailureTerminateCluster = "TERMINATE_CLUSTER" // ActionOnFailureCancelAndWait is a ActionOnFailure enum value ActionOnFailureCancelAndWait = "CANCEL_AND_WAIT" // ActionOnFailureContinue is a ActionOnFailure enum value ActionOnFailureContinue = "CONTINUE" )
const ( // ClusterStateStarting is a ClusterState enum value ClusterStateStarting = "STARTING" // ClusterStateBootstrapping is a ClusterState enum value ClusterStateBootstrapping = "BOOTSTRAPPING" // ClusterStateRunning is a ClusterState enum value ClusterStateRunning = "RUNNING" // ClusterStateWaiting is a ClusterState enum value ClusterStateWaiting = "WAITING" // ClusterStateTerminating is a ClusterState enum value ClusterStateTerminating = "TERMINATING" // ClusterStateTerminated is a ClusterState enum value ClusterStateTerminated = "TERMINATED" // ClusterStateTerminatedWithErrors is a ClusterState enum value ClusterStateTerminatedWithErrors = "TERMINATED_WITH_ERRORS" )
const ( // ClusterStateChangeReasonCodeInternalError is a ClusterStateChangeReasonCode enum value ClusterStateChangeReasonCodeInternalError = "INTERNAL_ERROR" // ClusterStateChangeReasonCodeValidationError is a ClusterStateChangeReasonCode enum value ClusterStateChangeReasonCodeValidationError = "VALIDATION_ERROR" // ClusterStateChangeReasonCodeInstanceFailure is a ClusterStateChangeReasonCode enum value ClusterStateChangeReasonCodeInstanceFailure = "INSTANCE_FAILURE" // ClusterStateChangeReasonCodeBootstrapFailure is a ClusterStateChangeReasonCode enum value ClusterStateChangeReasonCodeBootstrapFailure = "BOOTSTRAP_FAILURE" // ClusterStateChangeReasonCodeUserRequest is a ClusterStateChangeReasonCode enum value ClusterStateChangeReasonCodeUserRequest = "USER_REQUEST" // ClusterStateChangeReasonCodeStepFailure is a ClusterStateChangeReasonCode enum value ClusterStateChangeReasonCodeStepFailure = "STEP_FAILURE" // ClusterStateChangeReasonCodeAllStepsCompleted is a ClusterStateChangeReasonCode enum value ClusterStateChangeReasonCodeAllStepsCompleted = "ALL_STEPS_COMPLETED" )
const ( // InstanceGroupStateProvisioning is a InstanceGroupState enum value InstanceGroupStateProvisioning = "PROVISIONING" // InstanceGroupStateBootstrapping is a InstanceGroupState enum value InstanceGroupStateBootstrapping = "BOOTSTRAPPING" // InstanceGroupStateRunning is a InstanceGroupState enum value InstanceGroupStateRunning = "RUNNING" // InstanceGroupStateResizing is a InstanceGroupState enum value InstanceGroupStateResizing = "RESIZING" // InstanceGroupStateSuspended is a InstanceGroupState enum value InstanceGroupStateSuspended = "SUSPENDED" // InstanceGroupStateTerminating is a InstanceGroupState enum value InstanceGroupStateTerminating = "TERMINATING" // InstanceGroupStateTerminated is a InstanceGroupState enum value InstanceGroupStateTerminated = "TERMINATED" // InstanceGroupStateArrested is a InstanceGroupState enum value InstanceGroupStateArrested = "ARRESTED" // InstanceGroupStateShuttingDown is a InstanceGroupState enum value InstanceGroupStateShuttingDown = "SHUTTING_DOWN" // InstanceGroupStateEnded is a InstanceGroupState enum value InstanceGroupStateEnded = "ENDED" )
const ( // InstanceGroupStateChangeReasonCodeInternalError is a InstanceGroupStateChangeReasonCode enum value InstanceGroupStateChangeReasonCodeInternalError = "INTERNAL_ERROR" // InstanceGroupStateChangeReasonCodeValidationError is a InstanceGroupStateChangeReasonCode enum value InstanceGroupStateChangeReasonCodeValidationError = "VALIDATION_ERROR" // InstanceGroupStateChangeReasonCodeInstanceFailure is a InstanceGroupStateChangeReasonCode enum value InstanceGroupStateChangeReasonCodeInstanceFailure = "INSTANCE_FAILURE" // InstanceGroupStateChangeReasonCodeClusterTerminated is a InstanceGroupStateChangeReasonCode enum value InstanceGroupStateChangeReasonCodeClusterTerminated = "CLUSTER_TERMINATED" )
const ( // InstanceGroupTypeMaster is a InstanceGroupType enum value InstanceGroupTypeMaster = "MASTER" // InstanceGroupTypeCore is a InstanceGroupType enum value InstanceGroupTypeCore = "CORE" // InstanceGroupTypeTask is a InstanceGroupType enum value InstanceGroupTypeTask = "TASK" )
const ( // InstanceRoleTypeMaster is a InstanceRoleType enum value InstanceRoleTypeMaster = "MASTER" // InstanceRoleTypeCore is a InstanceRoleType enum value InstanceRoleTypeCore = "CORE" // InstanceRoleTypeTask is a InstanceRoleType enum value InstanceRoleTypeTask = "TASK" )
const ( // InstanceStateAwaitingFulfillment is a InstanceState enum value InstanceStateAwaitingFulfillment = "AWAITING_FULFILLMENT" // InstanceStateProvisioning is a InstanceState enum value InstanceStateProvisioning = "PROVISIONING" // InstanceStateBootstrapping is a InstanceState enum value InstanceStateBootstrapping = "BOOTSTRAPPING" // InstanceStateRunning is a InstanceState enum value InstanceStateRunning = "RUNNING" // InstanceStateTerminated is a InstanceState enum value InstanceStateTerminated = "TERMINATED" )
const ( // InstanceStateChangeReasonCodeInternalError is a InstanceStateChangeReasonCode enum value InstanceStateChangeReasonCodeInternalError = "INTERNAL_ERROR" // InstanceStateChangeReasonCodeValidationError is a InstanceStateChangeReasonCode enum value InstanceStateChangeReasonCodeValidationError = "VALIDATION_ERROR" // InstanceStateChangeReasonCodeInstanceFailure is a InstanceStateChangeReasonCode enum value InstanceStateChangeReasonCodeInstanceFailure = "INSTANCE_FAILURE" // InstanceStateChangeReasonCodeBootstrapFailure is a InstanceStateChangeReasonCode enum value InstanceStateChangeReasonCodeBootstrapFailure = "BOOTSTRAP_FAILURE" // InstanceStateChangeReasonCodeClusterTerminated is a InstanceStateChangeReasonCode enum value InstanceStateChangeReasonCodeClusterTerminated = "CLUSTER_TERMINATED" )
const ( // JobFlowExecutionStateStarting is a JobFlowExecutionState enum value JobFlowExecutionStateStarting = "STARTING" // JobFlowExecutionStateBootstrapping is a JobFlowExecutionState enum value JobFlowExecutionStateBootstrapping = "BOOTSTRAPPING" // JobFlowExecutionStateRunning is a JobFlowExecutionState enum value JobFlowExecutionStateRunning = "RUNNING" // JobFlowExecutionStateWaiting is a JobFlowExecutionState enum value JobFlowExecutionStateWaiting = "WAITING" // JobFlowExecutionStateShuttingDown is a JobFlowExecutionState enum value JobFlowExecutionStateShuttingDown = "SHUTTING_DOWN" // JobFlowExecutionStateTerminated is a JobFlowExecutionState enum value JobFlowExecutionStateTerminated = "TERMINATED" // JobFlowExecutionStateCompleted is a JobFlowExecutionState enum value JobFlowExecutionStateCompleted = "COMPLETED" // JobFlowExecutionStateFailed is a JobFlowExecutionState enum value JobFlowExecutionStateFailed = "FAILED" )
The type of instance.
const ( // MarketTypeOnDemand is a MarketType enum value MarketTypeOnDemand = "ON_DEMAND" // MarketTypeSpot is a MarketType enum value MarketTypeSpot = "SPOT" )
const ( // StepExecutionStatePending is a StepExecutionState enum value StepExecutionStatePending = "PENDING" // StepExecutionStateRunning is a StepExecutionState enum value StepExecutionStateRunning = "RUNNING" // StepExecutionStateContinue is a StepExecutionState enum value StepExecutionStateContinue = "CONTINUE" // StepExecutionStateCompleted is a StepExecutionState enum value StepExecutionStateCompleted = "COMPLETED" // StepExecutionStateCancelled is a StepExecutionState enum value StepExecutionStateCancelled = "CANCELLED" // StepExecutionStateFailed is a StepExecutionState enum value StepExecutionStateFailed = "FAILED" // StepExecutionStateInterrupted is a StepExecutionState enum value StepExecutionStateInterrupted = "INTERRUPTED" )
const ( // StepStatePending is a StepState enum value StepStatePending = "PENDING" // StepStateRunning is a StepState enum value StepStateRunning = "RUNNING" // StepStateCompleted is a StepState enum value StepStateCompleted = "COMPLETED" // StepStateCancelled is a StepState enum value StepStateCancelled = "CANCELLED" // StepStateFailed is a StepState enum value StepStateFailed = "FAILED" // StepStateInterrupted is a StepState enum value StepStateInterrupted = "INTERRUPTED" )
const ServiceName = "elasticmapreduce"
A ServiceName is the name of the service the client will make API calls to.
const (
// StepStateChangeReasonCodeNone is a StepStateChangeReasonCode enum value
StepStateChangeReasonCodeNone = "NONE"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AddInstanceGroupsInput ¶
type AddInstanceGroupsInput struct { // Instance Groups to add. // // InstanceGroups is a required field InstanceGroups []*InstanceGroupConfig `type:"list" required:"true"` // Job flow in which to add the instance groups. // // JobFlowId is a required field JobFlowId *string `type:"string" required:"true"` // contains filtered or unexported fields }
Input to an AddInstanceGroups call.
func (AddInstanceGroupsInput) GoString ¶ added in v0.6.6
func (s AddInstanceGroupsInput) GoString() string
GoString returns the string representation
func (*AddInstanceGroupsInput) SetInstanceGroups ¶ added in v1.5.0
func (s *AddInstanceGroupsInput) SetInstanceGroups(v []*InstanceGroupConfig) *AddInstanceGroupsInput
SetInstanceGroups sets the InstanceGroups field's value.
func (*AddInstanceGroupsInput) SetJobFlowId ¶ added in v1.5.0
func (s *AddInstanceGroupsInput) SetJobFlowId(v string) *AddInstanceGroupsInput
SetJobFlowId sets the JobFlowId field's value.
func (AddInstanceGroupsInput) String ¶ added in v0.6.6
func (s AddInstanceGroupsInput) String() string
String returns the string representation
func (*AddInstanceGroupsInput) Validate ¶ added in v1.1.22
func (s *AddInstanceGroupsInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type AddInstanceGroupsOutput ¶
type AddInstanceGroupsOutput struct { // Instance group IDs of the newly created instance groups. InstanceGroupIds []*string `type:"list"` // The job flow ID in which the instance groups are added. JobFlowId *string `type:"string"` // contains filtered or unexported fields }
Output from an AddInstanceGroups call.
func (AddInstanceGroupsOutput) GoString ¶ added in v0.6.6
func (s AddInstanceGroupsOutput) GoString() string
GoString returns the string representation
func (*AddInstanceGroupsOutput) SetInstanceGroupIds ¶ added in v1.5.0
func (s *AddInstanceGroupsOutput) SetInstanceGroupIds(v []*string) *AddInstanceGroupsOutput
SetInstanceGroupIds sets the InstanceGroupIds field's value.
func (*AddInstanceGroupsOutput) SetJobFlowId ¶ added in v1.5.0
func (s *AddInstanceGroupsOutput) SetJobFlowId(v string) *AddInstanceGroupsOutput
SetJobFlowId sets the JobFlowId field's value.
func (AddInstanceGroupsOutput) String ¶ added in v0.6.6
func (s AddInstanceGroupsOutput) String() string
String returns the string representation
type AddJobFlowStepsInput ¶
type AddJobFlowStepsInput struct { // A string that uniquely identifies the job flow. This identifier is returned // by RunJobFlow and can also be obtained from ListClusters. // // JobFlowId is a required field JobFlowId *string `type:"string" required:"true"` // A list of StepConfig to be executed by the job flow. // // Steps is a required field Steps []*StepConfig `type:"list" required:"true"` // contains filtered or unexported fields }
The input argument to the AddJobFlowSteps operation.
func (AddJobFlowStepsInput) GoString ¶ added in v0.6.6
func (s AddJobFlowStepsInput) GoString() string
GoString returns the string representation
func (*AddJobFlowStepsInput) SetJobFlowId ¶ added in v1.5.0
func (s *AddJobFlowStepsInput) SetJobFlowId(v string) *AddJobFlowStepsInput
SetJobFlowId sets the JobFlowId field's value.
func (*AddJobFlowStepsInput) SetSteps ¶ added in v1.5.0
func (s *AddJobFlowStepsInput) SetSteps(v []*StepConfig) *AddJobFlowStepsInput
SetSteps sets the Steps field's value.
func (AddJobFlowStepsInput) String ¶ added in v0.6.6
func (s AddJobFlowStepsInput) String() string
String returns the string representation
func (*AddJobFlowStepsInput) Validate ¶ added in v1.1.22
func (s *AddJobFlowStepsInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type AddJobFlowStepsOutput ¶
type AddJobFlowStepsOutput struct { // The identifiers of the list of steps added to the job flow. StepIds []*string `type:"list"` // contains filtered or unexported fields }
The output for the AddJobFlowSteps operation.
func (AddJobFlowStepsOutput) GoString ¶ added in v0.6.6
func (s AddJobFlowStepsOutput) GoString() string
GoString returns the string representation
func (*AddJobFlowStepsOutput) SetStepIds ¶ added in v1.5.0
func (s *AddJobFlowStepsOutput) SetStepIds(v []*string) *AddJobFlowStepsOutput
SetStepIds sets the StepIds field's value.
func (AddJobFlowStepsOutput) String ¶ added in v0.6.6
func (s AddJobFlowStepsOutput) String() string
String returns the string representation
type AddTagsInput ¶
type AddTagsInput struct { // The Amazon EMR resource identifier to which tags will be added. This value // must be a cluster identifier. // // ResourceId is a required field ResourceId *string `type:"string" required:"true"` // A list of tags to associate with a cluster and propagate to Amazon EC2 instances. // Tags are user-defined key/value pairs that consist of a required key string // with a maximum of 128 characters, and an optional value string with a maximum // of 256 characters. // // Tags is a required field Tags []*Tag `type:"list" required:"true"` // contains filtered or unexported fields }
This input identifies a cluster and a list of tags to attach.
func (AddTagsInput) GoString ¶ added in v0.6.6
func (s AddTagsInput) GoString() string
GoString returns the string representation
func (*AddTagsInput) SetResourceId ¶ added in v1.5.0
func (s *AddTagsInput) SetResourceId(v string) *AddTagsInput
SetResourceId sets the ResourceId field's value.
func (*AddTagsInput) SetTags ¶ added in v1.5.0
func (s *AddTagsInput) SetTags(v []*Tag) *AddTagsInput
SetTags sets the Tags field's value.
func (AddTagsInput) String ¶ added in v0.6.6
func (s AddTagsInput) String() string
String returns the string representation
func (*AddTagsInput) Validate ¶ added in v1.1.22
func (s *AddTagsInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type AddTagsOutput ¶
type AddTagsOutput struct {
// contains filtered or unexported fields
}
This output indicates the result of adding tags to a resource.
func (AddTagsOutput) GoString ¶ added in v0.6.6
func (s AddTagsOutput) GoString() string
GoString returns the string representation
func (AddTagsOutput) String ¶ added in v0.6.6
func (s AddTagsOutput) String() string
String returns the string representation
type Application ¶
type Application struct { // This option is for advanced users only. This is meta information about third-party // applications that third-party vendors use for testing purposes. AdditionalInfo map[string]*string `type:"map"` // Arguments for Amazon EMR to pass to the application. Args []*string `type:"list"` // The name of the application. Name *string `type:"string"` // The version of the application. Version *string `type:"string"` // contains filtered or unexported fields }
An application is any Amazon or third-party software that you can add to the cluster. This structure contains a list of strings that indicates the software to use with the cluster and accepts a user argument list. Amazon EMR accepts and forwards the argument list to the corresponding installation script as bootstrap action argument. For more information, see Launch a Job Flow on the MapR Distribution for Hadoop (http://docs.aws.amazon.com/ElasticMapReduce/latest/DeveloperGuide/emr-mapr.html). Currently supported values are:
"mapr-m3" - launch the job flow using MapR M3 Edition.
"mapr-m5" - launch the job flow using MapR M5 Edition.
"mapr" with the user arguments specifying "--edition,m3" or "--edition,m5"
launch the job flow using MapR M3 or M5 Edition, respectively.
In Amazon EMR releases 4.0 and greater, the only accepted parameter is the application name. To pass arguments to applications, you supply a configuration for each application.
func (Application) GoString ¶ added in v0.6.6
func (s Application) GoString() string
GoString returns the string representation
func (*Application) SetAdditionalInfo ¶ added in v1.5.0
func (s *Application) SetAdditionalInfo(v map[string]*string) *Application
SetAdditionalInfo sets the AdditionalInfo field's value.
func (*Application) SetArgs ¶ added in v1.5.0
func (s *Application) SetArgs(v []*string) *Application
SetArgs sets the Args field's value.
func (*Application) SetName ¶ added in v1.5.0
func (s *Application) SetName(v string) *Application
SetName sets the Name field's value.
func (*Application) SetVersion ¶ added in v1.5.0
func (s *Application) SetVersion(v string) *Application
SetVersion sets the Version field's value.
func (Application) String ¶ added in v0.6.6
func (s Application) String() string
String returns the string representation
type BootstrapActionConfig ¶
type BootstrapActionConfig struct { // Name is a required field Name *string `type:"string" required:"true"` // ScriptBootstrapAction is a required field ScriptBootstrapAction *ScriptBootstrapActionConfig `type:"structure" required:"true"` // contains filtered or unexported fields }
func (BootstrapActionConfig) GoString ¶ added in v0.6.6
func (s BootstrapActionConfig) GoString() string
GoString returns the string representation
func (*BootstrapActionConfig) SetName ¶ added in v1.5.0
func (s *BootstrapActionConfig) SetName(v string) *BootstrapActionConfig
SetName sets the Name field's value.
func (*BootstrapActionConfig) SetScriptBootstrapAction ¶ added in v1.5.0
func (s *BootstrapActionConfig) SetScriptBootstrapAction(v *ScriptBootstrapActionConfig) *BootstrapActionConfig
SetScriptBootstrapAction sets the ScriptBootstrapAction field's value.
func (BootstrapActionConfig) String ¶ added in v0.6.6
func (s BootstrapActionConfig) String() string
String returns the string representation
func (*BootstrapActionConfig) Validate ¶ added in v1.1.22
func (s *BootstrapActionConfig) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type BootstrapActionDetail ¶
type BootstrapActionDetail struct { // A description of the bootstrap action. BootstrapActionConfig *BootstrapActionConfig `type:"structure"` // contains filtered or unexported fields }
Reports the configuration of a bootstrap action in a job flow.
func (BootstrapActionDetail) GoString ¶ added in v0.6.6
func (s BootstrapActionDetail) GoString() string
GoString returns the string representation
func (*BootstrapActionDetail) SetBootstrapActionConfig ¶ added in v1.5.0
func (s *BootstrapActionDetail) SetBootstrapActionConfig(v *BootstrapActionConfig) *BootstrapActionDetail
SetBootstrapActionConfig sets the BootstrapActionConfig field's value.
func (BootstrapActionDetail) String ¶ added in v0.6.6
func (s BootstrapActionDetail) String() string
String returns the string representation
type Cluster ¶
type Cluster struct { // The applications installed on this cluster. Applications []*Application `type:"list"` // Specifies whether the cluster should terminate after completing all steps. AutoTerminate *bool `type:"boolean"` // Amazon EMR releases 4.x or later. // // The list of Configurations supplied to the EMR cluster. Configurations []*Configuration `type:"list"` // Provides information about the EC2 instances in a cluster grouped by category. // For example, key name, subnet ID, IAM instance profile, and so on. Ec2InstanceAttributes *Ec2InstanceAttributes `type:"structure"` // The unique identifier for the cluster. Id *string `type:"string"` // The path to the Amazon S3 location where logs for this cluster are stored. LogUri *string `type:"string"` // The public DNS name of the master EC2 instance. MasterPublicDnsName *string `type:"string"` // The name of the cluster. Name *string `type:"string"` // An approximation of the cost of the job flow, represented in m1.small/hours. // This value is incremented one time for every hour an m1.small instance runs. // Larger instances are weighted more, so an EC2 instance that is roughly four // times more expensive would result in the normalized instance hours being // incremented by four. This result is only an approximation and does not reflect // the actual billing rate. NormalizedInstanceHours *int64 `type:"integer"` // The release label for the Amazon EMR release. For Amazon EMR 3.x and 2.x // AMIs, use amiVersion instead instead of ReleaseLabel. ReleaseLabel *string `type:"string"` // The AMI version requested for this cluster. RequestedAmiVersion *string `type:"string"` // The AMI version running on this cluster. RunningAmiVersion *string `type:"string"` // The name of the security configuration applied to the cluster. SecurityConfiguration *string `type:"string"` // The IAM role that will be assumed by the Amazon EMR service to access AWS // resources on your behalf. ServiceRole *string `type:"string"` // The current status details about the cluster. Status *ClusterStatus `type:"structure"` // A list of tags associated with a cluster. Tags []*Tag `type:"list"` // Indicates whether Amazon EMR will lock the cluster to prevent the EC2 instances // from being terminated by an API call or user intervention, or in the event // of a cluster error. TerminationProtected *bool `type:"boolean"` // Indicates whether the job flow is visible to all IAM users of the AWS account // associated with the job flow. If this value is set to true, all IAM users // of that AWS account can view and manage the job flow if they have the proper // policy permissions set. If this value is false, only the IAM user that created // the cluster can view and manage it. This value can be changed using the SetVisibleToAllUsers // action. VisibleToAllUsers *bool `type:"boolean"` // contains filtered or unexported fields }
The detailed description of the cluster.
func (*Cluster) SetApplications ¶ added in v1.5.0
func (s *Cluster) SetApplications(v []*Application) *Cluster
SetApplications sets the Applications field's value.
func (*Cluster) SetAutoTerminate ¶ added in v1.5.0
SetAutoTerminate sets the AutoTerminate field's value.
func (*Cluster) SetConfigurations ¶ added in v1.5.0
func (s *Cluster) SetConfigurations(v []*Configuration) *Cluster
SetConfigurations sets the Configurations field's value.
func (*Cluster) SetEc2InstanceAttributes ¶ added in v1.5.0
func (s *Cluster) SetEc2InstanceAttributes(v *Ec2InstanceAttributes) *Cluster
SetEc2InstanceAttributes sets the Ec2InstanceAttributes field's value.
func (*Cluster) SetMasterPublicDnsName ¶ added in v1.5.0
SetMasterPublicDnsName sets the MasterPublicDnsName field's value.
func (*Cluster) SetNormalizedInstanceHours ¶ added in v1.5.0
SetNormalizedInstanceHours sets the NormalizedInstanceHours field's value.
func (*Cluster) SetReleaseLabel ¶ added in v1.5.0
SetReleaseLabel sets the ReleaseLabel field's value.
func (*Cluster) SetRequestedAmiVersion ¶ added in v1.5.0
SetRequestedAmiVersion sets the RequestedAmiVersion field's value.
func (*Cluster) SetRunningAmiVersion ¶ added in v1.5.0
SetRunningAmiVersion sets the RunningAmiVersion field's value.
func (*Cluster) SetSecurityConfiguration ¶ added in v1.5.0
SetSecurityConfiguration sets the SecurityConfiguration field's value.
func (*Cluster) SetServiceRole ¶ added in v1.5.0
SetServiceRole sets the ServiceRole field's value.
func (*Cluster) SetStatus ¶ added in v1.5.0
func (s *Cluster) SetStatus(v *ClusterStatus) *Cluster
SetStatus sets the Status field's value.
func (*Cluster) SetTerminationProtected ¶ added in v1.5.0
SetTerminationProtected sets the TerminationProtected field's value.
func (*Cluster) SetVisibleToAllUsers ¶ added in v1.5.0
SetVisibleToAllUsers sets the VisibleToAllUsers field's value.
type ClusterStateChangeReason ¶
type ClusterStateChangeReason struct { // The programmatic code for the state change reason. Code *string `type:"string" enum:"ClusterStateChangeReasonCode"` // The descriptive message for the state change reason. Message *string `type:"string"` // contains filtered or unexported fields }
The reason that the cluster changed to its current state.
func (ClusterStateChangeReason) GoString ¶ added in v0.6.6
func (s ClusterStateChangeReason) GoString() string
GoString returns the string representation
func (*ClusterStateChangeReason) SetCode ¶ added in v1.5.0
func (s *ClusterStateChangeReason) SetCode(v string) *ClusterStateChangeReason
SetCode sets the Code field's value.
func (*ClusterStateChangeReason) SetMessage ¶ added in v1.5.0
func (s *ClusterStateChangeReason) SetMessage(v string) *ClusterStateChangeReason
SetMessage sets the Message field's value.
func (ClusterStateChangeReason) String ¶ added in v0.6.6
func (s ClusterStateChangeReason) String() string
String returns the string representation
type ClusterStatus ¶
type ClusterStatus struct { // The current state of the cluster. State *string `type:"string" enum:"ClusterState"` // The reason for the cluster status change. StateChangeReason *ClusterStateChangeReason `type:"structure"` // A timeline that represents the status of a cluster over the lifetime of the // cluster. Timeline *ClusterTimeline `type:"structure"` // contains filtered or unexported fields }
The detailed status of the cluster.
func (ClusterStatus) GoString ¶ added in v0.6.6
func (s ClusterStatus) GoString() string
GoString returns the string representation
func (*ClusterStatus) SetState ¶ added in v1.5.0
func (s *ClusterStatus) SetState(v string) *ClusterStatus
SetState sets the State field's value.
func (*ClusterStatus) SetStateChangeReason ¶ added in v1.5.0
func (s *ClusterStatus) SetStateChangeReason(v *ClusterStateChangeReason) *ClusterStatus
SetStateChangeReason sets the StateChangeReason field's value.
func (*ClusterStatus) SetTimeline ¶ added in v1.5.0
func (s *ClusterStatus) SetTimeline(v *ClusterTimeline) *ClusterStatus
SetTimeline sets the Timeline field's value.
func (ClusterStatus) String ¶ added in v0.6.6
func (s ClusterStatus) String() string
String returns the string representation
type ClusterSummary ¶
type ClusterSummary struct { // The unique identifier for the cluster. Id *string `type:"string"` // The name of the cluster. Name *string `type:"string"` // An approximation of the cost of the job flow, represented in m1.small/hours. // This value is incremented one time for every hour an m1.small instance runs. // Larger instances are weighted more, so an EC2 instance that is roughly four // times more expensive would result in the normalized instance hours being // incremented by four. This result is only an approximation and does not reflect // the actual billing rate. NormalizedInstanceHours *int64 `type:"integer"` // The details about the current status of the cluster. Status *ClusterStatus `type:"structure"` // contains filtered or unexported fields }
The summary description of the cluster.
func (ClusterSummary) GoString ¶ added in v0.6.6
func (s ClusterSummary) GoString() string
GoString returns the string representation
func (*ClusterSummary) SetId ¶ added in v1.5.0
func (s *ClusterSummary) SetId(v string) *ClusterSummary
SetId sets the Id field's value.
func (*ClusterSummary) SetName ¶ added in v1.5.0
func (s *ClusterSummary) SetName(v string) *ClusterSummary
SetName sets the Name field's value.
func (*ClusterSummary) SetNormalizedInstanceHours ¶ added in v1.5.0
func (s *ClusterSummary) SetNormalizedInstanceHours(v int64) *ClusterSummary
SetNormalizedInstanceHours sets the NormalizedInstanceHours field's value.
func (*ClusterSummary) SetStatus ¶ added in v1.5.0
func (s *ClusterSummary) SetStatus(v *ClusterStatus) *ClusterSummary
SetStatus sets the Status field's value.
func (ClusterSummary) String ¶ added in v0.6.6
func (s ClusterSummary) String() string
String returns the string representation
type ClusterTimeline ¶
type ClusterTimeline struct { // The creation date and time of the cluster. CreationDateTime *time.Time `type:"timestamp" timestampFormat:"unix"` // The date and time when the cluster was terminated. EndDateTime *time.Time `type:"timestamp" timestampFormat:"unix"` // The date and time when the cluster was ready to execute steps. ReadyDateTime *time.Time `type:"timestamp" timestampFormat:"unix"` // contains filtered or unexported fields }
Represents the timeline of the cluster's lifecycle.
func (ClusterTimeline) GoString ¶ added in v0.6.6
func (s ClusterTimeline) GoString() string
GoString returns the string representation
func (*ClusterTimeline) SetCreationDateTime ¶ added in v1.5.0
func (s *ClusterTimeline) SetCreationDateTime(v time.Time) *ClusterTimeline
SetCreationDateTime sets the CreationDateTime field's value.
func (*ClusterTimeline) SetEndDateTime ¶ added in v1.5.0
func (s *ClusterTimeline) SetEndDateTime(v time.Time) *ClusterTimeline
SetEndDateTime sets the EndDateTime field's value.
func (*ClusterTimeline) SetReadyDateTime ¶ added in v1.5.0
func (s *ClusterTimeline) SetReadyDateTime(v time.Time) *ClusterTimeline
SetReadyDateTime sets the ReadyDateTime field's value.
func (ClusterTimeline) String ¶ added in v0.6.6
func (s ClusterTimeline) String() string
String returns the string representation
type Command ¶
type Command struct { // Arguments for Amazon EMR to pass to the command for execution. Args []*string `type:"list"` // The name of the command. Name *string `type:"string"` // The Amazon S3 location of the command script. ScriptPath *string `type:"string"` // contains filtered or unexported fields }
An entity describing an executable that runs on a cluster.
func (*Command) SetScriptPath ¶ added in v1.5.0
SetScriptPath sets the ScriptPath field's value.
type Configuration ¶ added in v0.7.0
type Configuration struct { // The classification of a configuration. For more information see, Amazon EMR // Configurations (http://docs.aws.amazon.com/ElasticMapReduce/latest/API/EmrConfigurations.html). Classification *string `type:"string"` // A list of configurations you apply to this configuration object. Configurations []*Configuration `type:"list"` // A set of properties supplied to the Configuration object. Properties map[string]*string `type:"map"` // contains filtered or unexported fields }
Amazon EMR releases 4.x or later.
Specifies a hardware and software configuration of the EMR cluster. This includes configurations for applications and software bundled with Amazon EMR. The Configuration object is a JSON object which is defined by a classification and a set of properties. Configurations can be nested, so a configuration may have its own Configuration objects listed.
func (Configuration) GoString ¶ added in v0.7.0
func (s Configuration) GoString() string
GoString returns the string representation
func (*Configuration) SetClassification ¶ added in v1.5.0
func (s *Configuration) SetClassification(v string) *Configuration
SetClassification sets the Classification field's value.
func (*Configuration) SetConfigurations ¶ added in v1.5.0
func (s *Configuration) SetConfigurations(v []*Configuration) *Configuration
SetConfigurations sets the Configurations field's value.
func (*Configuration) SetProperties ¶ added in v1.5.0
func (s *Configuration) SetProperties(v map[string]*string) *Configuration
SetProperties sets the Properties field's value.
func (Configuration) String ¶ added in v0.7.0
func (s Configuration) String() string
String returns the string representation
type CreateSecurityConfigurationInput ¶ added in v1.4.16
type CreateSecurityConfigurationInput struct { // The name of the security configuration. // // Name is a required field Name *string `type:"string" required:"true"` // The security configuration details in JSON format. // // SecurityConfiguration is a required field SecurityConfiguration *string `type:"string" required:"true"` // contains filtered or unexported fields }
func (CreateSecurityConfigurationInput) GoString ¶ added in v1.4.16
func (s CreateSecurityConfigurationInput) GoString() string
GoString returns the string representation
func (*CreateSecurityConfigurationInput) SetName ¶ added in v1.5.0
func (s *CreateSecurityConfigurationInput) SetName(v string) *CreateSecurityConfigurationInput
SetName sets the Name field's value.
func (*CreateSecurityConfigurationInput) SetSecurityConfiguration ¶ added in v1.5.0
func (s *CreateSecurityConfigurationInput) SetSecurityConfiguration(v string) *CreateSecurityConfigurationInput
SetSecurityConfiguration sets the SecurityConfiguration field's value.
func (CreateSecurityConfigurationInput) String ¶ added in v1.4.16
func (s CreateSecurityConfigurationInput) String() string
String returns the string representation
func (*CreateSecurityConfigurationInput) Validate ¶ added in v1.4.16
func (s *CreateSecurityConfigurationInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type CreateSecurityConfigurationOutput ¶ added in v1.4.16
type CreateSecurityConfigurationOutput struct { // The date and time the security configuration was created. // // CreationDateTime is a required field CreationDateTime *time.Time `type:"timestamp" timestampFormat:"unix" required:"true"` // The name of the security configuration. // // Name is a required field Name *string `type:"string" required:"true"` // contains filtered or unexported fields }
func (CreateSecurityConfigurationOutput) GoString ¶ added in v1.4.16
func (s CreateSecurityConfigurationOutput) GoString() string
GoString returns the string representation
func (*CreateSecurityConfigurationOutput) SetCreationDateTime ¶ added in v1.5.0
func (s *CreateSecurityConfigurationOutput) SetCreationDateTime(v time.Time) *CreateSecurityConfigurationOutput
SetCreationDateTime sets the CreationDateTime field's value.
func (*CreateSecurityConfigurationOutput) SetName ¶ added in v1.5.0
func (s *CreateSecurityConfigurationOutput) SetName(v string) *CreateSecurityConfigurationOutput
SetName sets the Name field's value.
func (CreateSecurityConfigurationOutput) String ¶ added in v1.4.16
func (s CreateSecurityConfigurationOutput) String() string
String returns the string representation
type DeleteSecurityConfigurationInput ¶ added in v1.4.16
type DeleteSecurityConfigurationInput struct { // The name of the security configuration. // // Name is a required field Name *string `type:"string" required:"true"` // contains filtered or unexported fields }
func (DeleteSecurityConfigurationInput) GoString ¶ added in v1.4.16
func (s DeleteSecurityConfigurationInput) GoString() string
GoString returns the string representation
func (*DeleteSecurityConfigurationInput) SetName ¶ added in v1.5.0
func (s *DeleteSecurityConfigurationInput) SetName(v string) *DeleteSecurityConfigurationInput
SetName sets the Name field's value.
func (DeleteSecurityConfigurationInput) String ¶ added in v1.4.16
func (s DeleteSecurityConfigurationInput) String() string
String returns the string representation
func (*DeleteSecurityConfigurationInput) Validate ¶ added in v1.4.16
func (s *DeleteSecurityConfigurationInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DeleteSecurityConfigurationOutput ¶ added in v1.4.16
type DeleteSecurityConfigurationOutput struct {
// contains filtered or unexported fields
}
func (DeleteSecurityConfigurationOutput) GoString ¶ added in v1.4.16
func (s DeleteSecurityConfigurationOutput) GoString() string
GoString returns the string representation
func (DeleteSecurityConfigurationOutput) String ¶ added in v1.4.16
func (s DeleteSecurityConfigurationOutput) String() string
String returns the string representation
type DescribeClusterInput ¶
type DescribeClusterInput struct { // The identifier of the cluster to describe. // // ClusterId is a required field ClusterId *string `type:"string" required:"true"` // contains filtered or unexported fields }
This input determines which cluster to describe.
func (DescribeClusterInput) GoString ¶ added in v0.6.6
func (s DescribeClusterInput) GoString() string
GoString returns the string representation
func (*DescribeClusterInput) SetClusterId ¶ added in v1.5.0
func (s *DescribeClusterInput) SetClusterId(v string) *DescribeClusterInput
SetClusterId sets the ClusterId field's value.
func (DescribeClusterInput) String ¶ added in v0.6.6
func (s DescribeClusterInput) String() string
String returns the string representation
func (*DescribeClusterInput) Validate ¶ added in v1.1.22
func (s *DescribeClusterInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DescribeClusterOutput ¶
type DescribeClusterOutput struct { // This output contains the details for the requested cluster. Cluster *Cluster `type:"structure"` // contains filtered or unexported fields }
This output contains the description of the cluster.
func (DescribeClusterOutput) GoString ¶ added in v0.6.6
func (s DescribeClusterOutput) GoString() string
GoString returns the string representation
func (*DescribeClusterOutput) SetCluster ¶ added in v1.5.0
func (s *DescribeClusterOutput) SetCluster(v *Cluster) *DescribeClusterOutput
SetCluster sets the Cluster field's value.
func (DescribeClusterOutput) String ¶ added in v0.6.6
func (s DescribeClusterOutput) String() string
String returns the string representation
type DescribeJobFlowsInput ¶
type DescribeJobFlowsInput struct { // Return only job flows created after this date and time. CreatedAfter *time.Time `type:"timestamp" timestampFormat:"unix"` // Return only job flows created before this date and time. CreatedBefore *time.Time `type:"timestamp" timestampFormat:"unix"` // Return only job flows whose job flow ID is contained in this list. JobFlowIds []*string `type:"list"` // Return only job flows whose state is contained in this list. JobFlowStates []*string `type:"list"` // contains filtered or unexported fields }
The input for the DescribeJobFlows operation.
func (DescribeJobFlowsInput) GoString ¶ added in v0.6.6
func (s DescribeJobFlowsInput) GoString() string
GoString returns the string representation
func (*DescribeJobFlowsInput) SetCreatedAfter ¶ added in v1.5.0
func (s *DescribeJobFlowsInput) SetCreatedAfter(v time.Time) *DescribeJobFlowsInput
SetCreatedAfter sets the CreatedAfter field's value.
func (*DescribeJobFlowsInput) SetCreatedBefore ¶ added in v1.5.0
func (s *DescribeJobFlowsInput) SetCreatedBefore(v time.Time) *DescribeJobFlowsInput
SetCreatedBefore sets the CreatedBefore field's value.
func (*DescribeJobFlowsInput) SetJobFlowIds ¶ added in v1.5.0
func (s *DescribeJobFlowsInput) SetJobFlowIds(v []*string) *DescribeJobFlowsInput
SetJobFlowIds sets the JobFlowIds field's value.
func (*DescribeJobFlowsInput) SetJobFlowStates ¶ added in v1.5.0
func (s *DescribeJobFlowsInput) SetJobFlowStates(v []*string) *DescribeJobFlowsInput
SetJobFlowStates sets the JobFlowStates field's value.
func (DescribeJobFlowsInput) String ¶ added in v0.6.6
func (s DescribeJobFlowsInput) String() string
String returns the string representation
type DescribeJobFlowsOutput ¶
type DescribeJobFlowsOutput struct { // A list of job flows matching the parameters supplied. JobFlows []*JobFlowDetail `type:"list"` // contains filtered or unexported fields }
The output for the DescribeJobFlows operation.
func (DescribeJobFlowsOutput) GoString ¶ added in v0.6.6
func (s DescribeJobFlowsOutput) GoString() string
GoString returns the string representation
func (*DescribeJobFlowsOutput) SetJobFlows ¶ added in v1.5.0
func (s *DescribeJobFlowsOutput) SetJobFlows(v []*JobFlowDetail) *DescribeJobFlowsOutput
SetJobFlows sets the JobFlows field's value.
func (DescribeJobFlowsOutput) String ¶ added in v0.6.6
func (s DescribeJobFlowsOutput) String() string
String returns the string representation
type DescribeSecurityConfigurationInput ¶ added in v1.4.16
type DescribeSecurityConfigurationInput struct { // The name of the security configuration. // // Name is a required field Name *string `type:"string" required:"true"` // contains filtered or unexported fields }
func (DescribeSecurityConfigurationInput) GoString ¶ added in v1.4.16
func (s DescribeSecurityConfigurationInput) GoString() string
GoString returns the string representation
func (*DescribeSecurityConfigurationInput) SetName ¶ added in v1.5.0
func (s *DescribeSecurityConfigurationInput) SetName(v string) *DescribeSecurityConfigurationInput
SetName sets the Name field's value.
func (DescribeSecurityConfigurationInput) String ¶ added in v1.4.16
func (s DescribeSecurityConfigurationInput) String() string
String returns the string representation
func (*DescribeSecurityConfigurationInput) Validate ¶ added in v1.4.16
func (s *DescribeSecurityConfigurationInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DescribeSecurityConfigurationOutput ¶ added in v1.4.16
type DescribeSecurityConfigurationOutput struct { // The date and time the security configuration was created CreationDateTime *time.Time `type:"timestamp" timestampFormat:"unix"` // The name of the security configuration. Name *string `type:"string"` // The security configuration details in JSON format. SecurityConfiguration *string `type:"string"` // contains filtered or unexported fields }
func (DescribeSecurityConfigurationOutput) GoString ¶ added in v1.4.16
func (s DescribeSecurityConfigurationOutput) GoString() string
GoString returns the string representation
func (*DescribeSecurityConfigurationOutput) SetCreationDateTime ¶ added in v1.5.0
func (s *DescribeSecurityConfigurationOutput) SetCreationDateTime(v time.Time) *DescribeSecurityConfigurationOutput
SetCreationDateTime sets the CreationDateTime field's value.
func (*DescribeSecurityConfigurationOutput) SetName ¶ added in v1.5.0
func (s *DescribeSecurityConfigurationOutput) SetName(v string) *DescribeSecurityConfigurationOutput
SetName sets the Name field's value.
func (*DescribeSecurityConfigurationOutput) SetSecurityConfiguration ¶ added in v1.5.0
func (s *DescribeSecurityConfigurationOutput) SetSecurityConfiguration(v string) *DescribeSecurityConfigurationOutput
SetSecurityConfiguration sets the SecurityConfiguration field's value.
func (DescribeSecurityConfigurationOutput) String ¶ added in v1.4.16
func (s DescribeSecurityConfigurationOutput) String() string
String returns the string representation
type DescribeStepInput ¶
type DescribeStepInput struct { // The identifier of the cluster with steps to describe. // // ClusterId is a required field ClusterId *string `type:"string" required:"true"` // The identifier of the step to describe. // // StepId is a required field StepId *string `type:"string" required:"true"` // contains filtered or unexported fields }
This input determines which step to describe.
func (DescribeStepInput) GoString ¶ added in v0.6.6
func (s DescribeStepInput) GoString() string
GoString returns the string representation
func (*DescribeStepInput) SetClusterId ¶ added in v1.5.0
func (s *DescribeStepInput) SetClusterId(v string) *DescribeStepInput
SetClusterId sets the ClusterId field's value.
func (*DescribeStepInput) SetStepId ¶ added in v1.5.0
func (s *DescribeStepInput) SetStepId(v string) *DescribeStepInput
SetStepId sets the StepId field's value.
func (DescribeStepInput) String ¶ added in v0.6.6
func (s DescribeStepInput) String() string
String returns the string representation
func (*DescribeStepInput) Validate ¶ added in v1.1.22
func (s *DescribeStepInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DescribeStepOutput ¶
type DescribeStepOutput struct { // The step details for the requested step identifier. Step *Step `type:"structure"` // contains filtered or unexported fields }
This output contains the description of the cluster step.
func (DescribeStepOutput) GoString ¶ added in v0.6.6
func (s DescribeStepOutput) GoString() string
GoString returns the string representation
func (*DescribeStepOutput) SetStep ¶ added in v1.5.0
func (s *DescribeStepOutput) SetStep(v *Step) *DescribeStepOutput
SetStep sets the Step field's value.
func (DescribeStepOutput) String ¶ added in v0.6.6
func (s DescribeStepOutput) String() string
String returns the string representation
type EMR ¶
Amazon Elastic MapReduce (Amazon EMR) is a web service that makes it easy to process large amounts of data efficiently. Amazon EMR uses Hadoop processing combined with several AWS products to do tasks such as web indexing, data mining, log file analysis, machine learning, scientific simulation, and data warehousing. The service client's operations are safe to be used concurrently. It is not safe to mutate any of the client's properties though.
func New ¶
func New(p client.ConfigProvider, cfgs ...*aws.Config) *EMR
New creates a new instance of the EMR client with a session. If additional configuration is needed for the client instance use the optional aws.Config parameter to add your extra config.
Example:
// Create a EMR client from just a session. svc := emr.New(mySession) // Create a EMR client with additional configuration svc := emr.New(mySession, aws.NewConfig().WithRegion("us-west-2"))
func (*EMR) AddInstanceGroups ¶
func (c *EMR) AddInstanceGroups(input *AddInstanceGroupsInput) (*AddInstanceGroupsOutput, error)
AddInstanceGroups API operation for Amazon Elastic MapReduce.
AddInstanceGroups adds an instance group to a running cluster.
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 Amazon Elastic MapReduce's API operation AddInstanceGroups for usage and error information.
Returned Error Codes:
- InternalServerError Indicates that an error occurred while processing the request and that the request was not completed.
Example ¶
package main import ( "fmt" "github.com/aws/aws-sdk-go/aws" "github.com/aws/aws-sdk-go/aws/session" "github.com/aws/aws-sdk-go/service/emr" ) func main() { sess, err := session.NewSession() if err != nil { fmt.Println("failed to create session,", err) return } svc := emr.New(sess) params := &emr.AddInstanceGroupsInput{ InstanceGroups: []*emr.InstanceGroupConfig{ // Required { // Required InstanceCount: aws.Int64(1), // Required InstanceRole: aws.String("InstanceRoleType"), // Required InstanceType: aws.String("InstanceType"), // Required BidPrice: aws.String("XmlStringMaxLen256"), Configurations: []*emr.Configuration{ { // Required Classification: aws.String("String"), Configurations: []*emr.Configuration{ // Recursive values... }, Properties: map[string]*string{ "Key": aws.String("String"), // Required // More values... }, }, // More values... }, EbsConfiguration: &emr.EbsConfiguration{ EbsBlockDeviceConfigs: []*emr.EbsBlockDeviceConfig{ { // Required VolumeSpecification: &emr.VolumeSpecification{ // Required SizeInGB: aws.Int64(1), // Required VolumeType: aws.String("String"), // Required Iops: aws.Int64(1), }, VolumesPerInstance: aws.Int64(1), }, // More values... }, EbsOptimized: aws.Bool(true), }, Market: aws.String("MarketType"), Name: aws.String("XmlStringMaxLen256"), }, // More values... }, JobFlowId: aws.String("XmlStringMaxLen256"), // Required } resp, err := svc.AddInstanceGroups(params) if err != nil { // Print the error, cast err to awserr.Error to get the Code and // Message from an error. fmt.Println(err.Error()) return } // Pretty-print the response data. fmt.Println(resp) }
Output:
func (*EMR) AddInstanceGroupsRequest ¶
func (c *EMR) AddInstanceGroupsRequest(input *AddInstanceGroupsInput) (req *request.Request, output *AddInstanceGroupsOutput)
AddInstanceGroupsRequest generates a "aws/request.Request" representing the client's request for the AddInstanceGroups operation. The "output" return value can be used to capture response data after the request's "Send" method is called.
See AddInstanceGroups for usage and error information.
Creating a request object using this method should be used when you want to inject custom logic into the request's lifecycle using a custom handler, or if you want to access properties on the request object before or after sending the request. If you just want the service response, call the AddInstanceGroups method directly instead.
Note: You must call the "Send" method on the returned request object in order to execute the request.
// Example sending a request using the AddInstanceGroupsRequest method. req, resp := client.AddInstanceGroupsRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
func (*EMR) AddJobFlowSteps ¶
func (c *EMR) AddJobFlowSteps(input *AddJobFlowStepsInput) (*AddJobFlowStepsOutput, error)
AddJobFlowSteps API operation for Amazon Elastic MapReduce.
AddJobFlowSteps adds new steps to a running job flow. A maximum of 256 steps are allowed in each job flow.
If your job flow is long-running (such as a Hive data warehouse) or complex, you may require more than 256 steps to process your data. You can bypass the 256-step limitation in various ways, including using the SSH shell to connect to the master node and submitting queries directly to the software running on the master node, such as Hive and Hadoop. For more information on how to do this, go to Add More than 256 Steps to a Job Flow (http://docs.aws.amazon.com/ElasticMapReduce/latest/DeveloperGuide/AddMoreThan256Steps.html) in the Amazon Elastic MapReduce Developer's Guide.
A step specifies the location of a JAR file stored either on the master node of the job flow or in Amazon S3. Each step is performed by the main function of the main class of the JAR file. The main class can be specified either in the manifest of the JAR or by using the MainFunction parameter of the step.
Elastic MapReduce executes each step in the order listed. For a step to be considered complete, the main function must exit with a zero exit code and all Hadoop jobs started while the step was running must have completed and run successfully.
You can only add steps to a job flow that is in one of the following states: STARTING, BOOTSTRAPPING, RUNNING, or WAITING.
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 Amazon Elastic MapReduce's API operation AddJobFlowSteps for usage and error information.
Returned Error Codes:
- InternalServerError Indicates that an error occurred while processing the request and that the request was not completed.
Example ¶
package main import ( "fmt" "github.com/aws/aws-sdk-go/aws" "github.com/aws/aws-sdk-go/aws/session" "github.com/aws/aws-sdk-go/service/emr" ) func main() { sess, err := session.NewSession() if err != nil { fmt.Println("failed to create session,", err) return } svc := emr.New(sess) params := &emr.AddJobFlowStepsInput{ JobFlowId: aws.String("XmlStringMaxLen256"), // Required Steps: []*emr.StepConfig{ // Required { // Required HadoopJarStep: &emr.HadoopJarStepConfig{ // Required Jar: aws.String("XmlString"), // Required Args: []*string{ aws.String("XmlString"), // Required // More values... }, MainClass: aws.String("XmlString"), Properties: []*emr.KeyValue{ { // Required Key: aws.String("XmlString"), Value: aws.String("XmlString"), }, // More values... }, }, Name: aws.String("XmlStringMaxLen256"), // Required ActionOnFailure: aws.String("ActionOnFailure"), }, // More values... }, } resp, err := svc.AddJobFlowSteps(params) if err != nil { // Print the error, cast err to awserr.Error to get the Code and // Message from an error. fmt.Println(err.Error()) return } // Pretty-print the response data. fmt.Println(resp) }
Output:
func (*EMR) AddJobFlowStepsRequest ¶
func (c *EMR) AddJobFlowStepsRequest(input *AddJobFlowStepsInput) (req *request.Request, output *AddJobFlowStepsOutput)
AddJobFlowStepsRequest generates a "aws/request.Request" representing the client's request for the AddJobFlowSteps operation. The "output" return value can be used to capture response data after the request's "Send" method is called.
See AddJobFlowSteps for usage and error information.
Creating a request object using this method should be used when you want to inject custom logic into the request's lifecycle using a custom handler, or if you want to access properties on the request object before or after sending the request. If you just want the service response, call the AddJobFlowSteps method directly instead.
Note: You must call the "Send" method on the returned request object in order to execute the request.
// Example sending a request using the AddJobFlowStepsRequest method. req, resp := client.AddJobFlowStepsRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
func (*EMR) AddTags ¶
func (c *EMR) AddTags(input *AddTagsInput) (*AddTagsOutput, error)
AddTags API operation for Amazon Elastic MapReduce.
Adds tags to an Amazon EMR resource. Tags make it easier to associate clusters in various ways, such as grouping clusters to track your Amazon EMR resource allocation costs. For more information, see Tagging Amazon EMR Resources (http://docs.aws.amazon.com/ElasticMapReduce/latest/DeveloperGuide/emr-plan-tags.html).
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 Amazon Elastic MapReduce's API operation AddTags for usage and error information.
Returned Error Codes:
InternalServerException This exception occurs when there is an internal failure in the EMR service.
InvalidRequestException This exception occurs when there is something wrong with user input.
Example ¶
package main import ( "fmt" "github.com/aws/aws-sdk-go/aws" "github.com/aws/aws-sdk-go/aws/session" "github.com/aws/aws-sdk-go/service/emr" ) func main() { sess, err := session.NewSession() if err != nil { fmt.Println("failed to create session,", err) return } svc := emr.New(sess) params := &emr.AddTagsInput{ ResourceId: aws.String("ResourceId"), // Required Tags: []*emr.Tag{ // Required { // Required Key: aws.String("String"), Value: aws.String("String"), }, // More values... }, } resp, err := svc.AddTags(params) if err != nil { // Print the error, cast err to awserr.Error to get the Code and // Message from an error. fmt.Println(err.Error()) return } // Pretty-print the response data. fmt.Println(resp) }
Output:
func (*EMR) AddTagsRequest ¶
func (c *EMR) AddTagsRequest(input *AddTagsInput) (req *request.Request, output *AddTagsOutput)
AddTagsRequest generates a "aws/request.Request" representing the client's request for the AddTags operation. The "output" return value can be used to capture response data after the request's "Send" method is called.
See AddTags for usage and error information.
Creating a request object using this method should be used when you want to inject custom logic into the request's lifecycle using a custom handler, or if you want to access properties on the request object before or after sending the request. If you just want the service response, call the AddTags method directly instead.
Note: You must call the "Send" method on the returned request object in order to execute the request.
// Example sending a request using the AddTagsRequest method. req, resp := client.AddTagsRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
func (*EMR) CreateSecurityConfiguration ¶ added in v1.4.16
func (c *EMR) CreateSecurityConfiguration(input *CreateSecurityConfigurationInput) (*CreateSecurityConfigurationOutput, error)
CreateSecurityConfiguration API operation for Amazon Elastic MapReduce.
Creates a security configuration using EMR Security Configurations, which are stored in the service. Security Configurations enable you to more easily create a configuration, reuse it, and apply it whenever a cluster is created.
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 Amazon Elastic MapReduce's API operation CreateSecurityConfiguration for usage and error information.
Returned Error Codes:
InternalServerException This exception occurs when there is an internal failure in the EMR service.
InvalidRequestException This exception occurs when there is something wrong with user input.
Example ¶
package main import ( "fmt" "github.com/aws/aws-sdk-go/aws" "github.com/aws/aws-sdk-go/aws/session" "github.com/aws/aws-sdk-go/service/emr" ) func main() { sess, err := session.NewSession() if err != nil { fmt.Println("failed to create session,", err) return } svc := emr.New(sess) params := &emr.CreateSecurityConfigurationInput{ Name: aws.String("XmlString"), // Required SecurityConfiguration: aws.String("String"), // Required } resp, err := svc.CreateSecurityConfiguration(params) if err != nil { // Print the error, cast err to awserr.Error to get the Code and // Message from an error. fmt.Println(err.Error()) return } // Pretty-print the response data. fmt.Println(resp) }
Output:
func (*EMR) CreateSecurityConfigurationRequest ¶ added in v1.4.16
func (c *EMR) CreateSecurityConfigurationRequest(input *CreateSecurityConfigurationInput) (req *request.Request, output *CreateSecurityConfigurationOutput)
CreateSecurityConfigurationRequest generates a "aws/request.Request" representing the client's request for the CreateSecurityConfiguration operation. The "output" return value can be used to capture response data after the request's "Send" method is called.
See CreateSecurityConfiguration for usage and error information.
Creating a request object using this method should be used when you want to inject custom logic into the request's lifecycle using a custom handler, or if you want to access properties on the request object before or after sending the request. If you just want the service response, call the CreateSecurityConfiguration method directly instead.
Note: You must call the "Send" method on the returned request object in order to execute the request.
// Example sending a request using the CreateSecurityConfigurationRequest method. req, resp := client.CreateSecurityConfigurationRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
func (*EMR) DeleteSecurityConfiguration ¶ added in v1.4.16
func (c *EMR) DeleteSecurityConfiguration(input *DeleteSecurityConfigurationInput) (*DeleteSecurityConfigurationOutput, error)
DeleteSecurityConfiguration API operation for Amazon Elastic MapReduce.
Deletes a security configuration.
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 Amazon Elastic MapReduce's API operation DeleteSecurityConfiguration for usage and error information.
Returned Error Codes:
InternalServerException This exception occurs when there is an internal failure in the EMR service.
InvalidRequestException This exception occurs when there is something wrong with user input.
Example ¶
package main import ( "fmt" "github.com/aws/aws-sdk-go/aws" "github.com/aws/aws-sdk-go/aws/session" "github.com/aws/aws-sdk-go/service/emr" ) func main() { sess, err := session.NewSession() if err != nil { fmt.Println("failed to create session,", err) return } svc := emr.New(sess) params := &emr.DeleteSecurityConfigurationInput{ Name: aws.String("XmlString"), // Required } resp, err := svc.DeleteSecurityConfiguration(params) if err != nil { // Print the error, cast err to awserr.Error to get the Code and // Message from an error. fmt.Println(err.Error()) return } // Pretty-print the response data. fmt.Println(resp) }
Output:
func (*EMR) DeleteSecurityConfigurationRequest ¶ added in v1.4.16
func (c *EMR) DeleteSecurityConfigurationRequest(input *DeleteSecurityConfigurationInput) (req *request.Request, output *DeleteSecurityConfigurationOutput)
DeleteSecurityConfigurationRequest generates a "aws/request.Request" representing the client's request for the DeleteSecurityConfiguration operation. The "output" return value can be used to capture response data after the request's "Send" method is called.
See DeleteSecurityConfiguration for usage and error information.
Creating a request object using this method should be used when you want to inject custom logic into the request's lifecycle using a custom handler, or if you want to access properties on the request object before or after sending the request. If you just want the service response, call the DeleteSecurityConfiguration method directly instead.
Note: You must call the "Send" method on the returned request object in order to execute the request.
// Example sending a request using the DeleteSecurityConfigurationRequest method. req, resp := client.DeleteSecurityConfigurationRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
func (*EMR) DescribeCluster ¶
func (c *EMR) DescribeCluster(input *DescribeClusterInput) (*DescribeClusterOutput, error)
DescribeCluster API operation for Amazon Elastic MapReduce.
Provides cluster-level details including status, hardware and software configuration, VPC settings, and so on. For information about the cluster steps, see ListSteps.
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 Amazon Elastic MapReduce's API operation DescribeCluster for usage and error information.
Returned Error Codes:
InternalServerException This exception occurs when there is an internal failure in the EMR service.
InvalidRequestException This exception occurs when there is something wrong with user input.
Example ¶
package main import ( "fmt" "github.com/aws/aws-sdk-go/aws" "github.com/aws/aws-sdk-go/aws/session" "github.com/aws/aws-sdk-go/service/emr" ) func main() { sess, err := session.NewSession() if err != nil { fmt.Println("failed to create session,", err) return } svc := emr.New(sess) params := &emr.DescribeClusterInput{ ClusterId: aws.String("ClusterId"), // Required } resp, err := svc.DescribeCluster(params) if err != nil { // Print the error, cast err to awserr.Error to get the Code and // Message from an error. fmt.Println(err.Error()) return } // Pretty-print the response data. fmt.Println(resp) }
Output:
func (*EMR) DescribeClusterRequest ¶
func (c *EMR) DescribeClusterRequest(input *DescribeClusterInput) (req *request.Request, output *DescribeClusterOutput)
DescribeClusterRequest generates a "aws/request.Request" representing the client's request for the DescribeCluster operation. The "output" return value can be used to capture response data after the request's "Send" method is called.
See DescribeCluster for usage and error information.
Creating a request object using this method should be used when you want to inject custom logic into the request's lifecycle using a custom handler, or if you want to access properties on the request object before or after sending the request. If you just want the service response, call the DescribeCluster method directly instead.
Note: You must call the "Send" method on the returned request object in order to execute the request.
// Example sending a request using the DescribeClusterRequest method. req, resp := client.DescribeClusterRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
func (*EMR) DescribeJobFlows ¶
func (c *EMR) DescribeJobFlows(input *DescribeJobFlowsInput) (*DescribeJobFlowsOutput, error)
DescribeJobFlows API operation for Amazon Elastic MapReduce.
This API is deprecated and will eventually be removed. We recommend you use ListClusters, DescribeCluster, ListSteps, ListInstanceGroups and ListBootstrapActions instead.
DescribeJobFlows returns a list of job flows that match all of the supplied parameters. The parameters can include a list of job flow IDs, job flow states, and restrictions on job flow creation date and time.
Regardless of supplied parameters, only job flows created within the last two months are returned.
If no parameters are supplied, then job flows matching either of the following criteria are returned:
Job flows created and completed in the last two weeks
Job flows created within the last two months that are in one of the following states: RUNNING, WAITING, SHUTTING_DOWN, STARTING
Amazon Elastic MapReduce can return a maximum of 512 job flow descriptions.
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 Amazon Elastic MapReduce's API operation DescribeJobFlows for usage and error information.
Returned Error Codes:
- InternalServerError Indicates that an error occurred while processing the request and that the request was not completed.
Example ¶
package main import ( "fmt" "time" "github.com/aws/aws-sdk-go/aws" "github.com/aws/aws-sdk-go/aws/session" "github.com/aws/aws-sdk-go/service/emr" ) func main() { sess, err := session.NewSession() if err != nil { fmt.Println("failed to create session,", err) return } svc := emr.New(sess) params := &emr.DescribeJobFlowsInput{ CreatedAfter: aws.Time(time.Now()), CreatedBefore: aws.Time(time.Now()), JobFlowIds: []*string{ aws.String("XmlString"), // Required // More values... }, JobFlowStates: []*string{ aws.String("JobFlowExecutionState"), // Required // More values... }, } resp, err := svc.DescribeJobFlows(params) if err != nil { // Print the error, cast err to awserr.Error to get the Code and // Message from an error. fmt.Println(err.Error()) return } // Pretty-print the response data. fmt.Println(resp) }
Output:
func (*EMR) DescribeJobFlowsRequest ¶
func (c *EMR) DescribeJobFlowsRequest(input *DescribeJobFlowsInput) (req *request.Request, output *DescribeJobFlowsOutput)
DescribeJobFlowsRequest generates a "aws/request.Request" representing the client's request for the DescribeJobFlows operation. The "output" return value can be used to capture response data after the request's "Send" method is called.
See DescribeJobFlows for usage and error information.
Creating a request object using this method should be used when you want to inject custom logic into the request's lifecycle using a custom handler, or if you want to access properties on the request object before or after sending the request. If you just want the service response, call the DescribeJobFlows method directly instead.
Note: You must call the "Send" method on the returned request object in order to execute the request.
// Example sending a request using the DescribeJobFlowsRequest method. req, resp := client.DescribeJobFlowsRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
func (*EMR) DescribeSecurityConfiguration ¶ added in v1.4.16
func (c *EMR) DescribeSecurityConfiguration(input *DescribeSecurityConfigurationInput) (*DescribeSecurityConfigurationOutput, error)
DescribeSecurityConfiguration API operation for Amazon Elastic MapReduce.
Provides the details of a security configuration by returning the configuration JSON.
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 Amazon Elastic MapReduce's API operation DescribeSecurityConfiguration for usage and error information.
Returned Error Codes:
InternalServerException This exception occurs when there is an internal failure in the EMR service.
InvalidRequestException This exception occurs when there is something wrong with user input.
Example ¶
package main import ( "fmt" "github.com/aws/aws-sdk-go/aws" "github.com/aws/aws-sdk-go/aws/session" "github.com/aws/aws-sdk-go/service/emr" ) func main() { sess, err := session.NewSession() if err != nil { fmt.Println("failed to create session,", err) return } svc := emr.New(sess) params := &emr.DescribeSecurityConfigurationInput{ Name: aws.String("XmlString"), // Required } resp, err := svc.DescribeSecurityConfiguration(params) if err != nil { // Print the error, cast err to awserr.Error to get the Code and // Message from an error. fmt.Println(err.Error()) return } // Pretty-print the response data. fmt.Println(resp) }
Output:
func (*EMR) DescribeSecurityConfigurationRequest ¶ added in v1.4.16
func (c *EMR) DescribeSecurityConfigurationRequest(input *DescribeSecurityConfigurationInput) (req *request.Request, output *DescribeSecurityConfigurationOutput)
DescribeSecurityConfigurationRequest generates a "aws/request.Request" representing the client's request for the DescribeSecurityConfiguration operation. The "output" return value can be used to capture response data after the request's "Send" method is called.
See DescribeSecurityConfiguration for usage and error information.
Creating a request object using this method should be used when you want to inject custom logic into the request's lifecycle using a custom handler, or if you want to access properties on the request object before or after sending the request. If you just want the service response, call the DescribeSecurityConfiguration method directly instead.
Note: You must call the "Send" method on the returned request object in order to execute the request.
// Example sending a request using the DescribeSecurityConfigurationRequest method. req, resp := client.DescribeSecurityConfigurationRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
func (*EMR) DescribeStep ¶
func (c *EMR) DescribeStep(input *DescribeStepInput) (*DescribeStepOutput, error)
DescribeStep API operation for Amazon Elastic MapReduce.
Provides more detail about the cluster step.
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 Amazon Elastic MapReduce's API operation DescribeStep for usage and error information.
Returned Error Codes:
InternalServerException This exception occurs when there is an internal failure in the EMR service.
InvalidRequestException This exception occurs when there is something wrong with user input.
Example ¶
package main import ( "fmt" "github.com/aws/aws-sdk-go/aws" "github.com/aws/aws-sdk-go/aws/session" "github.com/aws/aws-sdk-go/service/emr" ) func main() { sess, err := session.NewSession() if err != nil { fmt.Println("failed to create session,", err) return } svc := emr.New(sess) params := &emr.DescribeStepInput{ ClusterId: aws.String("ClusterId"), // Required StepId: aws.String("StepId"), // Required } resp, err := svc.DescribeStep(params) if err != nil { // Print the error, cast err to awserr.Error to get the Code and // Message from an error. fmt.Println(err.Error()) return } // Pretty-print the response data. fmt.Println(resp) }
Output:
func (*EMR) DescribeStepRequest ¶
func (c *EMR) DescribeStepRequest(input *DescribeStepInput) (req *request.Request, output *DescribeStepOutput)
DescribeStepRequest generates a "aws/request.Request" representing the client's request for the DescribeStep operation. The "output" return value can be used to capture response data after the request's "Send" method is called.
See DescribeStep for usage and error information.
Creating a request object using this method should be used when you want to inject custom logic into the request's lifecycle using a custom handler, or if you want to access properties on the request object before or after sending the request. If you just want the service response, call the DescribeStep method directly instead.
Note: You must call the "Send" method on the returned request object in order to execute the request.
// Example sending a request using the DescribeStepRequest method. req, resp := client.DescribeStepRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
func (*EMR) ListBootstrapActions ¶
func (c *EMR) ListBootstrapActions(input *ListBootstrapActionsInput) (*ListBootstrapActionsOutput, error)
ListBootstrapActions API operation for Amazon Elastic MapReduce.
Provides information about the bootstrap actions associated with a cluster.
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 Amazon Elastic MapReduce's API operation ListBootstrapActions for usage and error information.
Returned Error Codes:
InternalServerException This exception occurs when there is an internal failure in the EMR service.
InvalidRequestException This exception occurs when there is something wrong with user input.
Example ¶
package main import ( "fmt" "github.com/aws/aws-sdk-go/aws" "github.com/aws/aws-sdk-go/aws/session" "github.com/aws/aws-sdk-go/service/emr" ) func main() { sess, err := session.NewSession() if err != nil { fmt.Println("failed to create session,", err) return } svc := emr.New(sess) params := &emr.ListBootstrapActionsInput{ ClusterId: aws.String("ClusterId"), // Required Marker: aws.String("Marker"), } resp, err := svc.ListBootstrapActions(params) if err != nil { // Print the error, cast err to awserr.Error to get the Code and // Message from an error. fmt.Println(err.Error()) return } // Pretty-print the response data. fmt.Println(resp) }
Output:
func (*EMR) ListBootstrapActionsPages ¶
func (c *EMR) ListBootstrapActionsPages(input *ListBootstrapActionsInput, fn func(p *ListBootstrapActionsOutput, lastPage bool) (shouldContinue bool)) error
ListBootstrapActionsPages iterates over the pages of a ListBootstrapActions operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.
See ListBootstrapActions method for more information on how to use this operation.
Note: This operation can generate multiple requests to a service.
// Example iterating over at most 3 pages of a ListBootstrapActions operation. pageNum := 0 err := client.ListBootstrapActionsPages(params, func(page *ListBootstrapActionsOutput, lastPage bool) bool { pageNum++ fmt.Println(page) return pageNum <= 3 })
func (*EMR) ListBootstrapActionsRequest ¶
func (c *EMR) ListBootstrapActionsRequest(input *ListBootstrapActionsInput) (req *request.Request, output *ListBootstrapActionsOutput)
ListBootstrapActionsRequest generates a "aws/request.Request" representing the client's request for the ListBootstrapActions operation. The "output" return value can be used to capture response data after the request's "Send" method is called.
See ListBootstrapActions for usage and error information.
Creating a request object using this method should be used when you want to inject custom logic into the request's lifecycle using a custom handler, or if you want to access properties on the request object before or after sending the request. If you just want the service response, call the ListBootstrapActions method directly instead.
Note: You must call the "Send" method on the returned request object in order to execute the request.
// Example sending a request using the ListBootstrapActionsRequest method. req, resp := client.ListBootstrapActionsRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
func (*EMR) ListClusters ¶
func (c *EMR) ListClusters(input *ListClustersInput) (*ListClustersOutput, error)
ListClusters API operation for Amazon Elastic MapReduce.
Provides the status of all clusters visible to this AWS account. Allows you to filter the list of clusters based on certain criteria; for example, filtering by cluster creation date and time or by status. This call returns a maximum of 50 clusters per call, but returns a marker to track the paging of the cluster list across multiple ListClusters calls.
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 Amazon Elastic MapReduce's API operation ListClusters for usage and error information.
Returned Error Codes:
InternalServerException This exception occurs when there is an internal failure in the EMR service.
InvalidRequestException This exception occurs when there is something wrong with user input.
Example ¶
package main import ( "fmt" "time" "github.com/aws/aws-sdk-go/aws" "github.com/aws/aws-sdk-go/aws/session" "github.com/aws/aws-sdk-go/service/emr" ) func main() { sess, err := session.NewSession() if err != nil { fmt.Println("failed to create session,", err) return } svc := emr.New(sess) params := &emr.ListClustersInput{ ClusterStates: []*string{ aws.String("ClusterState"), // Required // More values... }, CreatedAfter: aws.Time(time.Now()), CreatedBefore: aws.Time(time.Now()), Marker: aws.String("Marker"), } resp, err := svc.ListClusters(params) if err != nil { // Print the error, cast err to awserr.Error to get the Code and // Message from an error. fmt.Println(err.Error()) return } // Pretty-print the response data. fmt.Println(resp) }
Output:
func (*EMR) ListClustersPages ¶
func (c *EMR) ListClustersPages(input *ListClustersInput, fn func(p *ListClustersOutput, lastPage bool) (shouldContinue bool)) error
ListClustersPages iterates over the pages of a ListClusters operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.
See ListClusters method for more information on how to use this operation.
Note: This operation can generate multiple requests to a service.
// Example iterating over at most 3 pages of a ListClusters operation. pageNum := 0 err := client.ListClustersPages(params, func(page *ListClustersOutput, lastPage bool) bool { pageNum++ fmt.Println(page) return pageNum <= 3 })
func (*EMR) ListClustersRequest ¶
func (c *EMR) ListClustersRequest(input *ListClustersInput) (req *request.Request, output *ListClustersOutput)
ListClustersRequest generates a "aws/request.Request" representing the client's request for the ListClusters operation. The "output" return value can be used to capture response data after the request's "Send" method is called.
See ListClusters for usage and error information.
Creating a request object using this method should be used when you want to inject custom logic into the request's lifecycle using a custom handler, or if you want to access properties on the request object before or after sending the request. If you just want the service response, call the ListClusters method directly instead.
Note: You must call the "Send" method on the returned request object in order to execute the request.
// Example sending a request using the ListClustersRequest method. req, resp := client.ListClustersRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
func (*EMR) ListInstanceGroups ¶
func (c *EMR) ListInstanceGroups(input *ListInstanceGroupsInput) (*ListInstanceGroupsOutput, error)
ListInstanceGroups API operation for Amazon Elastic MapReduce.
Provides all available details about the instance groups in a cluster.
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 Amazon Elastic MapReduce's API operation ListInstanceGroups for usage and error information.
Returned Error Codes:
InternalServerException This exception occurs when there is an internal failure in the EMR service.
InvalidRequestException This exception occurs when there is something wrong with user input.
Example ¶
package main import ( "fmt" "github.com/aws/aws-sdk-go/aws" "github.com/aws/aws-sdk-go/aws/session" "github.com/aws/aws-sdk-go/service/emr" ) func main() { sess, err := session.NewSession() if err != nil { fmt.Println("failed to create session,", err) return } svc := emr.New(sess) params := &emr.ListInstanceGroupsInput{ ClusterId: aws.String("ClusterId"), // Required Marker: aws.String("Marker"), } resp, err := svc.ListInstanceGroups(params) if err != nil { // Print the error, cast err to awserr.Error to get the Code and // Message from an error. fmt.Println(err.Error()) return } // Pretty-print the response data. fmt.Println(resp) }
Output:
func (*EMR) ListInstanceGroupsPages ¶
func (c *EMR) ListInstanceGroupsPages(input *ListInstanceGroupsInput, fn func(p *ListInstanceGroupsOutput, lastPage bool) (shouldContinue bool)) error
ListInstanceGroupsPages iterates over the pages of a ListInstanceGroups operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.
See ListInstanceGroups method for more information on how to use this operation.
Note: This operation can generate multiple requests to a service.
// Example iterating over at most 3 pages of a ListInstanceGroups operation. pageNum := 0 err := client.ListInstanceGroupsPages(params, func(page *ListInstanceGroupsOutput, lastPage bool) bool { pageNum++ fmt.Println(page) return pageNum <= 3 })
func (*EMR) ListInstanceGroupsRequest ¶
func (c *EMR) ListInstanceGroupsRequest(input *ListInstanceGroupsInput) (req *request.Request, output *ListInstanceGroupsOutput)
ListInstanceGroupsRequest generates a "aws/request.Request" representing the client's request for the ListInstanceGroups operation. The "output" return value can be used to capture response data after the request's "Send" method is called.
See ListInstanceGroups for usage and error information.
Creating a request object using this method should be used when you want to inject custom logic into the request's lifecycle using a custom handler, or if you want to access properties on the request object before or after sending the request. If you just want the service response, call the ListInstanceGroups method directly instead.
Note: You must call the "Send" method on the returned request object in order to execute the request.
// Example sending a request using the ListInstanceGroupsRequest method. req, resp := client.ListInstanceGroupsRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
func (*EMR) ListInstances ¶
func (c *EMR) ListInstances(input *ListInstancesInput) (*ListInstancesOutput, error)
ListInstances API operation for Amazon Elastic MapReduce.
Provides information about the cluster instances that Amazon EMR provisions on behalf of a user when it creates the cluster. For example, this operation indicates when the EC2 instances reach the Ready state, when instances become available to Amazon EMR to use for jobs, and the IP addresses for cluster instances, etc.
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 Amazon Elastic MapReduce's API operation ListInstances for usage and error information.
Returned Error Codes:
InternalServerException This exception occurs when there is an internal failure in the EMR service.
InvalidRequestException This exception occurs when there is something wrong with user input.
Example ¶
package main import ( "fmt" "github.com/aws/aws-sdk-go/aws" "github.com/aws/aws-sdk-go/aws/session" "github.com/aws/aws-sdk-go/service/emr" ) func main() { sess, err := session.NewSession() if err != nil { fmt.Println("failed to create session,", err) return } svc := emr.New(sess) params := &emr.ListInstancesInput{ ClusterId: aws.String("ClusterId"), // Required InstanceGroupId: aws.String("InstanceGroupId"), InstanceGroupTypes: []*string{ aws.String("InstanceGroupType"), // Required // More values... }, InstanceStates: []*string{ aws.String("InstanceState"), // Required // More values... }, Marker: aws.String("Marker"), } resp, err := svc.ListInstances(params) if err != nil { // Print the error, cast err to awserr.Error to get the Code and // Message from an error. fmt.Println(err.Error()) return } // Pretty-print the response data. fmt.Println(resp) }
Output:
func (*EMR) ListInstancesPages ¶
func (c *EMR) ListInstancesPages(input *ListInstancesInput, fn func(p *ListInstancesOutput, lastPage bool) (shouldContinue bool)) error
ListInstancesPages iterates over the pages of a ListInstances operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.
See ListInstances method for more information on how to use this operation.
Note: This operation can generate multiple requests to a service.
// Example iterating over at most 3 pages of a ListInstances operation. pageNum := 0 err := client.ListInstancesPages(params, func(page *ListInstancesOutput, lastPage bool) bool { pageNum++ fmt.Println(page) return pageNum <= 3 })
func (*EMR) ListInstancesRequest ¶
func (c *EMR) ListInstancesRequest(input *ListInstancesInput) (req *request.Request, output *ListInstancesOutput)
ListInstancesRequest generates a "aws/request.Request" representing the client's request for the ListInstances operation. The "output" return value can be used to capture response data after the request's "Send" method is called.
See ListInstances for usage and error information.
Creating a request object using this method should be used when you want to inject custom logic into the request's lifecycle using a custom handler, or if you want to access properties on the request object before or after sending the request. If you just want the service response, call the ListInstances method directly instead.
Note: You must call the "Send" method on the returned request object in order to execute the request.
// Example sending a request using the ListInstancesRequest method. req, resp := client.ListInstancesRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
func (*EMR) ListSecurityConfigurations ¶ added in v1.4.16
func (c *EMR) ListSecurityConfigurations(input *ListSecurityConfigurationsInput) (*ListSecurityConfigurationsOutput, error)
ListSecurityConfigurations API operation for Amazon Elastic MapReduce.
Lists all the security configurations visible to this account, providing their creation dates and times, and their names. This call returns a maximum of 50 clusters per call, but returns a marker to track the paging of the cluster list across multiple ListSecurityConfigurations calls.
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 Amazon Elastic MapReduce's API operation ListSecurityConfigurations for usage and error information.
Returned Error Codes:
InternalServerException This exception occurs when there is an internal failure in the EMR service.
InvalidRequestException This exception occurs when there is something wrong with user input.
Example ¶
package main import ( "fmt" "github.com/aws/aws-sdk-go/aws" "github.com/aws/aws-sdk-go/aws/session" "github.com/aws/aws-sdk-go/service/emr" ) func main() { sess, err := session.NewSession() if err != nil { fmt.Println("failed to create session,", err) return } svc := emr.New(sess) params := &emr.ListSecurityConfigurationsInput{ Marker: aws.String("Marker"), } resp, err := svc.ListSecurityConfigurations(params) if err != nil { // Print the error, cast err to awserr.Error to get the Code and // Message from an error. fmt.Println(err.Error()) return } // Pretty-print the response data. fmt.Println(resp) }
Output:
func (*EMR) ListSecurityConfigurationsRequest ¶ added in v1.4.16
func (c *EMR) ListSecurityConfigurationsRequest(input *ListSecurityConfigurationsInput) (req *request.Request, output *ListSecurityConfigurationsOutput)
ListSecurityConfigurationsRequest generates a "aws/request.Request" representing the client's request for the ListSecurityConfigurations operation. The "output" return value can be used to capture response data after the request's "Send" method is called.
See ListSecurityConfigurations for usage and error information.
Creating a request object using this method should be used when you want to inject custom logic into the request's lifecycle using a custom handler, or if you want to access properties on the request object before or after sending the request. If you just want the service response, call the ListSecurityConfigurations method directly instead.
Note: You must call the "Send" method on the returned request object in order to execute the request.
// Example sending a request using the ListSecurityConfigurationsRequest method. req, resp := client.ListSecurityConfigurationsRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
func (*EMR) ListSteps ¶
func (c *EMR) ListSteps(input *ListStepsInput) (*ListStepsOutput, error)
ListSteps API operation for Amazon Elastic MapReduce.
Provides a list of steps for the cluster.
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 Amazon Elastic MapReduce's API operation ListSteps for usage and error information.
Returned Error Codes:
InternalServerException This exception occurs when there is an internal failure in the EMR service.
InvalidRequestException This exception occurs when there is something wrong with user input.
Example ¶
package main import ( "fmt" "github.com/aws/aws-sdk-go/aws" "github.com/aws/aws-sdk-go/aws/session" "github.com/aws/aws-sdk-go/service/emr" ) func main() { sess, err := session.NewSession() if err != nil { fmt.Println("failed to create session,", err) return } svc := emr.New(sess) params := &emr.ListStepsInput{ ClusterId: aws.String("ClusterId"), // Required Marker: aws.String("Marker"), StepIds: []*string{ aws.String("XmlString"), // Required // More values... }, StepStates: []*string{ aws.String("StepState"), // Required // More values... }, } resp, err := svc.ListSteps(params) if err != nil { // Print the error, cast err to awserr.Error to get the Code and // Message from an error. fmt.Println(err.Error()) return } // Pretty-print the response data. fmt.Println(resp) }
Output:
func (*EMR) ListStepsPages ¶
func (c *EMR) ListStepsPages(input *ListStepsInput, fn func(p *ListStepsOutput, lastPage bool) (shouldContinue bool)) error
ListStepsPages iterates over the pages of a ListSteps operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.
See ListSteps method for more information on how to use this operation.
Note: This operation can generate multiple requests to a service.
// Example iterating over at most 3 pages of a ListSteps operation. pageNum := 0 err := client.ListStepsPages(params, func(page *ListStepsOutput, lastPage bool) bool { pageNum++ fmt.Println(page) return pageNum <= 3 })
func (*EMR) ListStepsRequest ¶
func (c *EMR) ListStepsRequest(input *ListStepsInput) (req *request.Request, output *ListStepsOutput)
ListStepsRequest generates a "aws/request.Request" representing the client's request for the ListSteps operation. The "output" return value can be used to capture response data after the request's "Send" method is called.
See ListSteps for usage and error information.
Creating a request object using this method should be used when you want to inject custom logic into the request's lifecycle using a custom handler, or if you want to access properties on the request object before or after sending the request. If you just want the service response, call the ListSteps method directly instead.
Note: You must call the "Send" method on the returned request object in order to execute the request.
// Example sending a request using the ListStepsRequest method. req, resp := client.ListStepsRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
func (*EMR) ModifyInstanceGroups ¶
func (c *EMR) ModifyInstanceGroups(input *ModifyInstanceGroupsInput) (*ModifyInstanceGroupsOutput, error)
ModifyInstanceGroups API operation for Amazon Elastic MapReduce.
ModifyInstanceGroups modifies the number of nodes and configuration settings of an instance group. The input parameters include the new target instance count for the group and the instance group ID. The call will either succeed or fail atomically.
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 Amazon Elastic MapReduce's API operation ModifyInstanceGroups for usage and error information.
Returned Error Codes:
- InternalServerError Indicates that an error occurred while processing the request and that the request was not completed.
Example ¶
package main import ( "fmt" "github.com/aws/aws-sdk-go/aws" "github.com/aws/aws-sdk-go/aws/session" "github.com/aws/aws-sdk-go/service/emr" ) func main() { sess, err := session.NewSession() if err != nil { fmt.Println("failed to create session,", err) return } svc := emr.New(sess) params := &emr.ModifyInstanceGroupsInput{ InstanceGroups: []*emr.InstanceGroupModifyConfig{ { // Required InstanceGroupId: aws.String("XmlStringMaxLen256"), // Required EC2InstanceIdsToTerminate: []*string{ aws.String("InstanceId"), // Required // More values... }, InstanceCount: aws.Int64(1), ShrinkPolicy: &emr.ShrinkPolicy{ DecommissionTimeout: aws.Int64(1), InstanceResizePolicy: &emr.InstanceResizePolicy{ InstanceTerminationTimeout: aws.Int64(1), InstancesToProtect: []*string{ aws.String("InstanceId"), // Required // More values... }, InstancesToTerminate: []*string{ aws.String("InstanceId"), // Required // More values... }, }, }, }, // More values... }, } resp, err := svc.ModifyInstanceGroups(params) if err != nil { // Print the error, cast err to awserr.Error to get the Code and // Message from an error. fmt.Println(err.Error()) return } // Pretty-print the response data. fmt.Println(resp) }
Output:
func (*EMR) ModifyInstanceGroupsRequest ¶
func (c *EMR) ModifyInstanceGroupsRequest(input *ModifyInstanceGroupsInput) (req *request.Request, output *ModifyInstanceGroupsOutput)
ModifyInstanceGroupsRequest generates a "aws/request.Request" representing the client's request for the ModifyInstanceGroups operation. The "output" return value can be used to capture response data after the request's "Send" method is called.
See ModifyInstanceGroups for usage and error information.
Creating a request object using this method should be used when you want to inject custom logic into the request's lifecycle using a custom handler, or if you want to access properties on the request object before or after sending the request. If you just want the service response, call the ModifyInstanceGroups method directly instead.
Note: You must call the "Send" method on the returned request object in order to execute the request.
// Example sending a request using the ModifyInstanceGroupsRequest method. req, resp := client.ModifyInstanceGroupsRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
func (*EMR) RemoveTags ¶
func (c *EMR) RemoveTags(input *RemoveTagsInput) (*RemoveTagsOutput, error)
RemoveTags API operation for Amazon Elastic MapReduce.
Removes tags from an Amazon EMR resource. Tags make it easier to associate clusters in various ways, such as grouping clusters to track your Amazon EMR resource allocation costs. For more information, see Tagging Amazon EMR Resources (http://docs.aws.amazon.com/ElasticMapReduce/latest/DeveloperGuide/emr-plan-tags.html).
The following example removes the stack tag with value Prod from a cluster:
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 Amazon Elastic MapReduce's API operation RemoveTags for usage and error information.
Returned Error Codes:
InternalServerException This exception occurs when there is an internal failure in the EMR service.
InvalidRequestException This exception occurs when there is something wrong with user input.
Example ¶
package main import ( "fmt" "github.com/aws/aws-sdk-go/aws" "github.com/aws/aws-sdk-go/aws/session" "github.com/aws/aws-sdk-go/service/emr" ) func main() { sess, err := session.NewSession() if err != nil { fmt.Println("failed to create session,", err) return } svc := emr.New(sess) params := &emr.RemoveTagsInput{ ResourceId: aws.String("ResourceId"), // Required TagKeys: []*string{ // Required aws.String("String"), // Required // More values... }, } resp, err := svc.RemoveTags(params) if err != nil { // Print the error, cast err to awserr.Error to get the Code and // Message from an error. fmt.Println(err.Error()) return } // Pretty-print the response data. fmt.Println(resp) }
Output:
func (*EMR) RemoveTagsRequest ¶
func (c *EMR) RemoveTagsRequest(input *RemoveTagsInput) (req *request.Request, output *RemoveTagsOutput)
RemoveTagsRequest generates a "aws/request.Request" representing the client's request for the RemoveTags operation. The "output" return value can be used to capture response data after the request's "Send" method is called.
See RemoveTags for usage and error information.
Creating a request object using this method should be used when you want to inject custom logic into the request's lifecycle using a custom handler, or if you want to access properties on the request object before or after sending the request. If you just want the service response, call the RemoveTags method directly instead.
Note: You must call the "Send" method on the returned request object in order to execute the request.
// Example sending a request using the RemoveTagsRequest method. req, resp := client.RemoveTagsRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
func (*EMR) RunJobFlow ¶
func (c *EMR) RunJobFlow(input *RunJobFlowInput) (*RunJobFlowOutput, error)
RunJobFlow API operation for Amazon Elastic MapReduce.
RunJobFlow creates and starts running a new job flow. The job flow will run the steps specified. Once the job flow completes, the cluster is stopped and the HDFS partition is lost. To prevent loss of data, configure the last step of the job flow to store results in Amazon S3. If the JobFlowInstancesConfigKeepJobFlowAliveWhenNoSteps parameter is set to TRUE, the job flow will transition to the WAITING state rather than shutting down once the steps have completed.
For additional protection, you can set the JobFlowInstancesConfigTerminationProtected parameter to TRUE to lock the job flow and prevent it from being terminated by API call, user intervention, or in the event of a job flow error.
A maximum of 256 steps are allowed in each job flow.
If your job flow is long-running (such as a Hive data warehouse) or complex, you may require more than 256 steps to process your data. You can bypass the 256-step limitation in various ways, including using the SSH shell to connect to the master node and submitting queries directly to the software running on the master node, such as Hive and Hadoop. For more information on how to do this, go to Add More than 256 Steps to a Job Flow (http://docs.aws.amazon.com/ElasticMapReduce/latest/DeveloperGuide/AddMoreThan256Steps.html) in the Amazon Elastic MapReduce Developer's Guide.
For long running job flows, we recommend that you periodically store your results.
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 Amazon Elastic MapReduce's API operation RunJobFlow for usage and error information.
Returned Error Codes:
- InternalServerError Indicates that an error occurred while processing the request and that the request was not completed.
Example ¶
package main import ( "fmt" "github.com/aws/aws-sdk-go/aws" "github.com/aws/aws-sdk-go/aws/session" "github.com/aws/aws-sdk-go/service/emr" ) func main() { sess, err := session.NewSession() if err != nil { fmt.Println("failed to create session,", err) return } svc := emr.New(sess) params := &emr.RunJobFlowInput{ Instances: &emr.JobFlowInstancesConfig{ // Required AdditionalMasterSecurityGroups: []*string{ aws.String("XmlStringMaxLen256"), // Required // More values... }, AdditionalSlaveSecurityGroups: []*string{ aws.String("XmlStringMaxLen256"), // Required // More values... }, Ec2KeyName: aws.String("XmlStringMaxLen256"), Ec2SubnetId: aws.String("XmlStringMaxLen256"), EmrManagedMasterSecurityGroup: aws.String("XmlStringMaxLen256"), EmrManagedSlaveSecurityGroup: aws.String("XmlStringMaxLen256"), HadoopVersion: aws.String("XmlStringMaxLen256"), InstanceCount: aws.Int64(1), InstanceGroups: []*emr.InstanceGroupConfig{ { // Required InstanceCount: aws.Int64(1), // Required InstanceRole: aws.String("InstanceRoleType"), // Required InstanceType: aws.String("InstanceType"), // Required BidPrice: aws.String("XmlStringMaxLen256"), Configurations: []*emr.Configuration{ { // Required Classification: aws.String("String"), Configurations: []*emr.Configuration{ // Recursive values... }, Properties: map[string]*string{ "Key": aws.String("String"), // Required // More values... }, }, // More values... }, EbsConfiguration: &emr.EbsConfiguration{ EbsBlockDeviceConfigs: []*emr.EbsBlockDeviceConfig{ { // Required VolumeSpecification: &emr.VolumeSpecification{ // Required SizeInGB: aws.Int64(1), // Required VolumeType: aws.String("String"), // Required Iops: aws.Int64(1), }, VolumesPerInstance: aws.Int64(1), }, // More values... }, EbsOptimized: aws.Bool(true), }, Market: aws.String("MarketType"), Name: aws.String("XmlStringMaxLen256"), }, // More values... }, KeepJobFlowAliveWhenNoSteps: aws.Bool(true), MasterInstanceType: aws.String("InstanceType"), Placement: &emr.PlacementType{ AvailabilityZone: aws.String("XmlString"), // Required }, ServiceAccessSecurityGroup: aws.String("XmlStringMaxLen256"), SlaveInstanceType: aws.String("InstanceType"), TerminationProtected: aws.Bool(true), }, Name: aws.String("XmlStringMaxLen256"), // Required AdditionalInfo: aws.String("XmlString"), AmiVersion: aws.String("XmlStringMaxLen256"), Applications: []*emr.Application{ { // Required AdditionalInfo: map[string]*string{ "Key": aws.String("String"), // Required // More values... }, Args: []*string{ aws.String("String"), // Required // More values... }, Name: aws.String("String"), Version: aws.String("String"), }, // More values... }, BootstrapActions: []*emr.BootstrapActionConfig{ { // Required Name: aws.String("XmlStringMaxLen256"), // Required ScriptBootstrapAction: &emr.ScriptBootstrapActionConfig{ // Required Path: aws.String("XmlString"), // Required Args: []*string{ aws.String("XmlString"), // Required // More values... }, }, }, // More values... }, Configurations: []*emr.Configuration{ { // Required Classification: aws.String("String"), Configurations: []*emr.Configuration{ // Recursive values... }, Properties: map[string]*string{ "Key": aws.String("String"), // Required // More values... }, }, // More values... }, JobFlowRole: aws.String("XmlString"), LogUri: aws.String("XmlString"), NewSupportedProducts: []*emr.SupportedProductConfig{ { // Required Args: []*string{ aws.String("XmlString"), // Required // More values... }, Name: aws.String("XmlStringMaxLen256"), }, // More values... }, ReleaseLabel: aws.String("XmlStringMaxLen256"), SecurityConfiguration: aws.String("XmlString"), ServiceRole: aws.String("XmlString"), Steps: []*emr.StepConfig{ { // Required HadoopJarStep: &emr.HadoopJarStepConfig{ // Required Jar: aws.String("XmlString"), // Required Args: []*string{ aws.String("XmlString"), // Required // More values... }, MainClass: aws.String("XmlString"), Properties: []*emr.KeyValue{ { // Required Key: aws.String("XmlString"), Value: aws.String("XmlString"), }, // More values... }, }, Name: aws.String("XmlStringMaxLen256"), // Required ActionOnFailure: aws.String("ActionOnFailure"), }, // More values... }, SupportedProducts: []*string{ aws.String("XmlStringMaxLen256"), // Required // More values... }, Tags: []*emr.Tag{ { // Required Key: aws.String("String"), Value: aws.String("String"), }, // More values... }, VisibleToAllUsers: aws.Bool(true), } resp, err := svc.RunJobFlow(params) if err != nil { // Print the error, cast err to awserr.Error to get the Code and // Message from an error. fmt.Println(err.Error()) return } // Pretty-print the response data. fmt.Println(resp) }
Output:
func (*EMR) RunJobFlowRequest ¶
func (c *EMR) RunJobFlowRequest(input *RunJobFlowInput) (req *request.Request, output *RunJobFlowOutput)
RunJobFlowRequest generates a "aws/request.Request" representing the client's request for the RunJobFlow operation. The "output" return value can be used to capture response data after the request's "Send" method is called.
See RunJobFlow for usage and error information.
Creating a request object using this method should be used when you want to inject custom logic into the request's lifecycle using a custom handler, or if you want to access properties on the request object before or after sending the request. If you just want the service response, call the RunJobFlow method directly instead.
Note: You must call the "Send" method on the returned request object in order to execute the request.
// Example sending a request using the RunJobFlowRequest method. req, resp := client.RunJobFlowRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
func (*EMR) SetTerminationProtection ¶
func (c *EMR) SetTerminationProtection(input *SetTerminationProtectionInput) (*SetTerminationProtectionOutput, error)
SetTerminationProtection API operation for Amazon Elastic MapReduce.
SetTerminationProtection locks a job flow so the Amazon EC2 instances in the cluster cannot be terminated by user intervention, an API call, or in the event of a job-flow error. The cluster still terminates upon successful completion of the job flow. Calling SetTerminationProtection on a job flow is analogous to calling the Amazon EC2 DisableAPITermination API on all of the EC2 instances in a cluster.
SetTerminationProtection is used to prevent accidental termination of a job flow and to ensure that in the event of an error, the instances will persist so you can recover any data stored in their ephemeral instance storage.
To terminate a job flow that has been locked by setting SetTerminationProtection to true, you must first unlock the job flow by a subsequent call to SetTerminationProtection in which you set the value to false.
For more information, go to Protecting a Job Flow from Termination (http://docs.aws.amazon.com/ElasticMapReduce/latest/DeveloperGuide/UsingEMR_TerminationProtection.html) in the Amazon Elastic MapReduce Developer's Guide.
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 Amazon Elastic MapReduce's API operation SetTerminationProtection for usage and error information.
Returned Error Codes:
- InternalServerError Indicates that an error occurred while processing the request and that the request was not completed.
Example ¶
package main import ( "fmt" "github.com/aws/aws-sdk-go/aws" "github.com/aws/aws-sdk-go/aws/session" "github.com/aws/aws-sdk-go/service/emr" ) func main() { sess, err := session.NewSession() if err != nil { fmt.Println("failed to create session,", err) return } svc := emr.New(sess) params := &emr.SetTerminationProtectionInput{ JobFlowIds: []*string{ // Required aws.String("XmlString"), // Required // More values... }, TerminationProtected: aws.Bool(true), // Required } resp, err := svc.SetTerminationProtection(params) if err != nil { // Print the error, cast err to awserr.Error to get the Code and // Message from an error. fmt.Println(err.Error()) return } // Pretty-print the response data. fmt.Println(resp) }
Output:
func (*EMR) SetTerminationProtectionRequest ¶
func (c *EMR) SetTerminationProtectionRequest(input *SetTerminationProtectionInput) (req *request.Request, output *SetTerminationProtectionOutput)
SetTerminationProtectionRequest generates a "aws/request.Request" representing the client's request for the SetTerminationProtection operation. The "output" return value can be used to capture response data after the request's "Send" method is called.
See SetTerminationProtection for usage and error information.
Creating a request object using this method should be used when you want to inject custom logic into the request's lifecycle using a custom handler, or if you want to access properties on the request object before or after sending the request. If you just want the service response, call the SetTerminationProtection method directly instead.
Note: You must call the "Send" method on the returned request object in order to execute the request.
// Example sending a request using the SetTerminationProtectionRequest method. req, resp := client.SetTerminationProtectionRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
func (*EMR) SetVisibleToAllUsers ¶
func (c *EMR) SetVisibleToAllUsers(input *SetVisibleToAllUsersInput) (*SetVisibleToAllUsersOutput, error)
SetVisibleToAllUsers API operation for Amazon Elastic MapReduce.
Sets whether all AWS Identity and Access Management (IAM) users under your account can access the specified job flows. This action works on running job flows. You can also set the visibility of a job flow when you launch it using the VisibleToAllUsers parameter of RunJobFlow. The SetVisibleToAllUsers action can be called only by an IAM user who created the job flow or the AWS account that owns the job flow.
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 Amazon Elastic MapReduce's API operation SetVisibleToAllUsers for usage and error information.
Returned Error Codes:
- InternalServerError Indicates that an error occurred while processing the request and that the request was not completed.
Example ¶
package main import ( "fmt" "github.com/aws/aws-sdk-go/aws" "github.com/aws/aws-sdk-go/aws/session" "github.com/aws/aws-sdk-go/service/emr" ) func main() { sess, err := session.NewSession() if err != nil { fmt.Println("failed to create session,", err) return } svc := emr.New(sess) params := &emr.SetVisibleToAllUsersInput{ JobFlowIds: []*string{ // Required aws.String("XmlString"), // Required // More values... }, VisibleToAllUsers: aws.Bool(true), // Required } resp, err := svc.SetVisibleToAllUsers(params) if err != nil { // Print the error, cast err to awserr.Error to get the Code and // Message from an error. fmt.Println(err.Error()) return } // Pretty-print the response data. fmt.Println(resp) }
Output:
func (*EMR) SetVisibleToAllUsersRequest ¶
func (c *EMR) SetVisibleToAllUsersRequest(input *SetVisibleToAllUsersInput) (req *request.Request, output *SetVisibleToAllUsersOutput)
SetVisibleToAllUsersRequest generates a "aws/request.Request" representing the client's request for the SetVisibleToAllUsers operation. The "output" return value can be used to capture response data after the request's "Send" method is called.
See SetVisibleToAllUsers for usage and error information.
Creating a request object using this method should be used when you want to inject custom logic into the request's lifecycle using a custom handler, or if you want to access properties on the request object before or after sending the request. If you just want the service response, call the SetVisibleToAllUsers method directly instead.
Note: You must call the "Send" method on the returned request object in order to execute the request.
// Example sending a request using the SetVisibleToAllUsersRequest method. req, resp := client.SetVisibleToAllUsersRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
func (*EMR) TerminateJobFlows ¶
func (c *EMR) TerminateJobFlows(input *TerminateJobFlowsInput) (*TerminateJobFlowsOutput, error)
TerminateJobFlows API operation for Amazon Elastic MapReduce.
TerminateJobFlows shuts a list of job flows down. When a job flow is shut down, any step not yet completed is canceled and the EC2 instances on which the job flow is running are stopped. Any log files not already saved are uploaded to Amazon S3 if a LogUri was specified when the job flow was created.
The maximum number of JobFlows allowed is 10. The call to TerminateJobFlows is asynchronous. Depending on the configuration of the job flow, it may take up to 5-20 minutes for the job flow to completely terminate and release allocated resources, such as Amazon EC2 instances.
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 Amazon Elastic MapReduce's API operation TerminateJobFlows for usage and error information.
Returned Error Codes:
- InternalServerError Indicates that an error occurred while processing the request and that the request was not completed.
Example ¶
package main import ( "fmt" "github.com/aws/aws-sdk-go/aws" "github.com/aws/aws-sdk-go/aws/session" "github.com/aws/aws-sdk-go/service/emr" ) func main() { sess, err := session.NewSession() if err != nil { fmt.Println("failed to create session,", err) return } svc := emr.New(sess) params := &emr.TerminateJobFlowsInput{ JobFlowIds: []*string{ // Required aws.String("XmlString"), // Required // More values... }, } resp, err := svc.TerminateJobFlows(params) if err != nil { // Print the error, cast err to awserr.Error to get the Code and // Message from an error. fmt.Println(err.Error()) return } // Pretty-print the response data. fmt.Println(resp) }
Output:
func (*EMR) TerminateJobFlowsRequest ¶
func (c *EMR) TerminateJobFlowsRequest(input *TerminateJobFlowsInput) (req *request.Request, output *TerminateJobFlowsOutput)
TerminateJobFlowsRequest generates a "aws/request.Request" representing the client's request for the TerminateJobFlows operation. The "output" return value can be used to capture response data after the request's "Send" method is called.
See TerminateJobFlows for usage and error information.
Creating a request object using this method should be used when you want to inject custom logic into the request's lifecycle using a custom handler, or if you want to access properties on the request object before or after sending the request. If you just want the service response, call the TerminateJobFlows method directly instead.
Note: You must call the "Send" method on the returned request object in order to execute the request.
// Example sending a request using the TerminateJobFlowsRequest method. req, resp := client.TerminateJobFlowsRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
func (*EMR) WaitUntilClusterRunning ¶ added in v0.10.3
func (c *EMR) WaitUntilClusterRunning(input *DescribeClusterInput) error
WaitUntilClusterRunning uses the Amazon EMR API operation DescribeCluster to wait for a condition to be met before returning. If the condition is not meet within the max attempt window an error will be returned.
func (*EMR) WaitUntilStepComplete ¶ added in v0.10.3
func (c *EMR) WaitUntilStepComplete(input *DescribeStepInput) error
WaitUntilStepComplete uses the Amazon EMR API operation DescribeStep to wait for a condition to be met before returning. If the condition is not meet within the max attempt window an error will be returned.
type EbsBlockDevice ¶ added in v1.1.6
type EbsBlockDevice struct { // The device name that is exposed to the instance, such as /dev/sdh. Device *string `type:"string"` // EBS volume specifications such as volume type, IOPS, and size(GiB) that will // be requested for the EBS volume attached to an EC2 instance in the cluster. VolumeSpecification *VolumeSpecification `type:"structure"` // contains filtered or unexported fields }
Configuration of requested EBS block device associated with the instance group.
func (EbsBlockDevice) GoString ¶ added in v1.1.6
func (s EbsBlockDevice) GoString() string
GoString returns the string representation
func (*EbsBlockDevice) SetDevice ¶ added in v1.5.0
func (s *EbsBlockDevice) SetDevice(v string) *EbsBlockDevice
SetDevice sets the Device field's value.
func (*EbsBlockDevice) SetVolumeSpecification ¶ added in v1.5.0
func (s *EbsBlockDevice) SetVolumeSpecification(v *VolumeSpecification) *EbsBlockDevice
SetVolumeSpecification sets the VolumeSpecification field's value.
func (EbsBlockDevice) String ¶ added in v1.1.6
func (s EbsBlockDevice) String() string
String returns the string representation
type EbsBlockDeviceConfig ¶ added in v1.1.6
type EbsBlockDeviceConfig struct { // EBS volume specifications such as volume type, IOPS, and size(GiB) that will // be requested for the EBS volume attached to an EC2 instance in the cluster. // // VolumeSpecification is a required field VolumeSpecification *VolumeSpecification `type:"structure" required:"true"` // Number of EBS volumes with specific volume configuration, that will be associated // with every instance in the instance group VolumesPerInstance *int64 `type:"integer"` // contains filtered or unexported fields }
Configuration of requested EBS block device associated with the instance group with count of volumes that will be associated to every instance.
func (EbsBlockDeviceConfig) GoString ¶ added in v1.1.6
func (s EbsBlockDeviceConfig) GoString() string
GoString returns the string representation
func (*EbsBlockDeviceConfig) SetVolumeSpecification ¶ added in v1.5.0
func (s *EbsBlockDeviceConfig) SetVolumeSpecification(v *VolumeSpecification) *EbsBlockDeviceConfig
SetVolumeSpecification sets the VolumeSpecification field's value.
func (*EbsBlockDeviceConfig) SetVolumesPerInstance ¶ added in v1.5.0
func (s *EbsBlockDeviceConfig) SetVolumesPerInstance(v int64) *EbsBlockDeviceConfig
SetVolumesPerInstance sets the VolumesPerInstance field's value.
func (EbsBlockDeviceConfig) String ¶ added in v1.1.6
func (s EbsBlockDeviceConfig) String() string
String returns the string representation
func (*EbsBlockDeviceConfig) Validate ¶ added in v1.1.22
func (s *EbsBlockDeviceConfig) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type EbsConfiguration ¶ added in v1.1.6
type EbsConfiguration struct { EbsBlockDeviceConfigs []*EbsBlockDeviceConfig `type:"list"` EbsOptimized *bool `type:"boolean"` // contains filtered or unexported fields }
func (EbsConfiguration) GoString ¶ added in v1.1.6
func (s EbsConfiguration) GoString() string
GoString returns the string representation
func (*EbsConfiguration) SetEbsBlockDeviceConfigs ¶ added in v1.5.0
func (s *EbsConfiguration) SetEbsBlockDeviceConfigs(v []*EbsBlockDeviceConfig) *EbsConfiguration
SetEbsBlockDeviceConfigs sets the EbsBlockDeviceConfigs field's value.
func (*EbsConfiguration) SetEbsOptimized ¶ added in v1.5.0
func (s *EbsConfiguration) SetEbsOptimized(v bool) *EbsConfiguration
SetEbsOptimized sets the EbsOptimized field's value.
func (EbsConfiguration) String ¶ added in v1.1.6
func (s EbsConfiguration) String() string
String returns the string representation
func (*EbsConfiguration) Validate ¶ added in v1.1.22
func (s *EbsConfiguration) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type EbsVolume ¶ added in v1.1.6
type EbsVolume struct { // The device name that is exposed to the instance, such as /dev/sdh. Device *string `type:"string"` // The volume identifier of the EBS volume. VolumeId *string `type:"string"` // contains filtered or unexported fields }
EBS block device that's attached to an EC2 instance.
func (*EbsVolume) SetVolumeId ¶ added in v1.5.0
SetVolumeId sets the VolumeId field's value.
type Ec2InstanceAttributes ¶ added in v0.9.5
type Ec2InstanceAttributes struct { // A list of additional Amazon EC2 security group IDs for the master node. AdditionalMasterSecurityGroups []*string `type:"list"` // A list of additional Amazon EC2 security group IDs for the slave nodes. AdditionalSlaveSecurityGroups []*string `type:"list"` // The Availability Zone in which the cluster will run. Ec2AvailabilityZone *string `type:"string"` // The name of the Amazon EC2 key pair to use when connecting with SSH into // the master node as a user named "hadoop". Ec2KeyName *string `type:"string"` // To launch the job flow in Amazon VPC, set this parameter to the identifier // of the Amazon VPC subnet where you want the job flow to launch. If you do // not specify this value, the job flow is launched in the normal AWS cloud, // outside of a VPC. // // Amazon VPC currently does not support cluster compute quadruple extra large // (cc1.4xlarge) instances. Thus, you cannot specify the cc1.4xlarge instance // type for nodes of a job flow launched in a VPC. Ec2SubnetId *string `type:"string"` // The identifier of the Amazon EC2 security group for the master node. EmrManagedMasterSecurityGroup *string `type:"string"` // The identifier of the Amazon EC2 security group for the slave nodes. EmrManagedSlaveSecurityGroup *string `type:"string"` // The IAM role that was specified when the job flow was launched. The EC2 instances // of the job flow assume this role. IamInstanceProfile *string `type:"string"` // The identifier of the Amazon EC2 security group for the Amazon EMR service // to access clusters in VPC private subnets. ServiceAccessSecurityGroup *string `type:"string"` // contains filtered or unexported fields }
Provides information about the EC2 instances in a cluster grouped by category. For example, key name, subnet ID, IAM instance profile, and so on.
func (Ec2InstanceAttributes) GoString ¶ added in v0.9.5
func (s Ec2InstanceAttributes) GoString() string
GoString returns the string representation
func (*Ec2InstanceAttributes) SetAdditionalMasterSecurityGroups ¶ added in v1.5.0
func (s *Ec2InstanceAttributes) SetAdditionalMasterSecurityGroups(v []*string) *Ec2InstanceAttributes
SetAdditionalMasterSecurityGroups sets the AdditionalMasterSecurityGroups field's value.
func (*Ec2InstanceAttributes) SetAdditionalSlaveSecurityGroups ¶ added in v1.5.0
func (s *Ec2InstanceAttributes) SetAdditionalSlaveSecurityGroups(v []*string) *Ec2InstanceAttributes
SetAdditionalSlaveSecurityGroups sets the AdditionalSlaveSecurityGroups field's value.
func (*Ec2InstanceAttributes) SetEc2AvailabilityZone ¶ added in v1.5.0
func (s *Ec2InstanceAttributes) SetEc2AvailabilityZone(v string) *Ec2InstanceAttributes
SetEc2AvailabilityZone sets the Ec2AvailabilityZone field's value.
func (*Ec2InstanceAttributes) SetEc2KeyName ¶ added in v1.5.0
func (s *Ec2InstanceAttributes) SetEc2KeyName(v string) *Ec2InstanceAttributes
SetEc2KeyName sets the Ec2KeyName field's value.
func (*Ec2InstanceAttributes) SetEc2SubnetId ¶ added in v1.5.0
func (s *Ec2InstanceAttributes) SetEc2SubnetId(v string) *Ec2InstanceAttributes
SetEc2SubnetId sets the Ec2SubnetId field's value.
func (*Ec2InstanceAttributes) SetEmrManagedMasterSecurityGroup ¶ added in v1.5.0
func (s *Ec2InstanceAttributes) SetEmrManagedMasterSecurityGroup(v string) *Ec2InstanceAttributes
SetEmrManagedMasterSecurityGroup sets the EmrManagedMasterSecurityGroup field's value.
func (*Ec2InstanceAttributes) SetEmrManagedSlaveSecurityGroup ¶ added in v1.5.0
func (s *Ec2InstanceAttributes) SetEmrManagedSlaveSecurityGroup(v string) *Ec2InstanceAttributes
SetEmrManagedSlaveSecurityGroup sets the EmrManagedSlaveSecurityGroup field's value.
func (*Ec2InstanceAttributes) SetIamInstanceProfile ¶ added in v1.5.0
func (s *Ec2InstanceAttributes) SetIamInstanceProfile(v string) *Ec2InstanceAttributes
SetIamInstanceProfile sets the IamInstanceProfile field's value.
func (*Ec2InstanceAttributes) SetServiceAccessSecurityGroup ¶ added in v1.5.0
func (s *Ec2InstanceAttributes) SetServiceAccessSecurityGroup(v string) *Ec2InstanceAttributes
SetServiceAccessSecurityGroup sets the ServiceAccessSecurityGroup field's value.
func (Ec2InstanceAttributes) String ¶ added in v0.9.5
func (s Ec2InstanceAttributes) String() string
String returns the string representation
type FailureDetails ¶ added in v1.3.0
type FailureDetails struct { // The path to the log file where the step failure root cause was originally // recorded. LogFile *string `type:"string"` // The descriptive message including the error the EMR service has identified // as the cause of step failure. This is text from an error log that describes // the root cause of the failure. Message *string `type:"string"` // The reason for the step failure. In the case where the service cannot successfully // determine the root cause of the failure, it returns "Unknown Error" as a // reason. Reason *string `type:"string"` // contains filtered or unexported fields }
The details of the step failure. The service attempts to detect the root cause for many common failures.
func (FailureDetails) GoString ¶ added in v1.3.0
func (s FailureDetails) GoString() string
GoString returns the string representation
func (*FailureDetails) SetLogFile ¶ added in v1.5.0
func (s *FailureDetails) SetLogFile(v string) *FailureDetails
SetLogFile sets the LogFile field's value.
func (*FailureDetails) SetMessage ¶ added in v1.5.0
func (s *FailureDetails) SetMessage(v string) *FailureDetails
SetMessage sets the Message field's value.
func (*FailureDetails) SetReason ¶ added in v1.5.0
func (s *FailureDetails) SetReason(v string) *FailureDetails
SetReason sets the Reason field's value.
func (FailureDetails) String ¶ added in v1.3.0
func (s FailureDetails) String() string
String returns the string representation
type HadoopJarStepConfig ¶ added in v0.9.5
type HadoopJarStepConfig struct { // A list of command line arguments passed to the JAR file's main function when // executed. Args []*string `type:"list"` // A path to a JAR file run during the step. // // Jar is a required field Jar *string `type:"string" required:"true"` // The name of the main class in the specified Java file. If not specified, // the JAR file should specify a Main-Class in its manifest file. MainClass *string `type:"string"` // A list of Java properties that are set when the step runs. You can use these // properties to pass key value pairs to your main function. Properties []*KeyValue `type:"list"` // contains filtered or unexported fields }
A job flow step consisting of a JAR file whose main function will be executed. The main function submits a job for Hadoop to execute and waits for the job to finish or fail.
func (HadoopJarStepConfig) GoString ¶ added in v0.9.5
func (s HadoopJarStepConfig) GoString() string
GoString returns the string representation
func (*HadoopJarStepConfig) SetArgs ¶ added in v1.5.0
func (s *HadoopJarStepConfig) SetArgs(v []*string) *HadoopJarStepConfig
SetArgs sets the Args field's value.
func (*HadoopJarStepConfig) SetJar ¶ added in v1.5.0
func (s *HadoopJarStepConfig) SetJar(v string) *HadoopJarStepConfig
SetJar sets the Jar field's value.
func (*HadoopJarStepConfig) SetMainClass ¶ added in v1.5.0
func (s *HadoopJarStepConfig) SetMainClass(v string) *HadoopJarStepConfig
SetMainClass sets the MainClass field's value.
func (*HadoopJarStepConfig) SetProperties ¶ added in v1.5.0
func (s *HadoopJarStepConfig) SetProperties(v []*KeyValue) *HadoopJarStepConfig
SetProperties sets the Properties field's value.
func (HadoopJarStepConfig) String ¶ added in v0.9.5
func (s HadoopJarStepConfig) String() string
String returns the string representation
func (*HadoopJarStepConfig) Validate ¶ added in v1.1.22
func (s *HadoopJarStepConfig) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type HadoopStepConfig ¶
type HadoopStepConfig struct { // The list of command line arguments to pass to the JAR file's main function // for execution. Args []*string `type:"list"` // The path to the JAR file that runs during the step. Jar *string `type:"string"` // The name of the main class in the specified Java file. If not specified, // the JAR file should specify a main class in its manifest file. MainClass *string `type:"string"` // The list of Java properties that are set when the step runs. You can use // these properties to pass key value pairs to your main function. Properties map[string]*string `type:"map"` // contains filtered or unexported fields }
A cluster step consisting of a JAR file whose main function will be executed. The main function submits a job for Hadoop to execute and waits for the job to finish or fail.
func (HadoopStepConfig) GoString ¶ added in v0.6.6
func (s HadoopStepConfig) GoString() string
GoString returns the string representation
func (*HadoopStepConfig) SetArgs ¶ added in v1.5.0
func (s *HadoopStepConfig) SetArgs(v []*string) *HadoopStepConfig
SetArgs sets the Args field's value.
func (*HadoopStepConfig) SetJar ¶ added in v1.5.0
func (s *HadoopStepConfig) SetJar(v string) *HadoopStepConfig
SetJar sets the Jar field's value.
func (*HadoopStepConfig) SetMainClass ¶ added in v1.5.0
func (s *HadoopStepConfig) SetMainClass(v string) *HadoopStepConfig
SetMainClass sets the MainClass field's value.
func (*HadoopStepConfig) SetProperties ¶ added in v1.5.0
func (s *HadoopStepConfig) SetProperties(v map[string]*string) *HadoopStepConfig
SetProperties sets the Properties field's value.
func (HadoopStepConfig) String ¶ added in v0.6.6
func (s HadoopStepConfig) String() string
String returns the string representation
type Instance ¶
type Instance struct { // The list of EBS volumes that are attached to this instance. EbsVolumes []*EbsVolume `type:"list"` // The unique identifier of the instance in Amazon EC2. Ec2InstanceId *string `type:"string"` // The unique identifier for the instance in Amazon EMR. Id *string `type:"string"` // The identifier of the instance group to which this instance belongs. InstanceGroupId *string `type:"string"` // The private DNS name of the instance. PrivateDnsName *string `type:"string"` // The private IP address of the instance. PrivateIpAddress *string `type:"string"` // The public DNS name of the instance. PublicDnsName *string `type:"string"` // The public IP address of the instance. PublicIpAddress *string `type:"string"` // The current status of the instance. Status *InstanceStatus `type:"structure"` // contains filtered or unexported fields }
Represents an EC2 instance provisioned as part of cluster.
func (*Instance) SetEbsVolumes ¶ added in v1.5.0
SetEbsVolumes sets the EbsVolumes field's value.
func (*Instance) SetEc2InstanceId ¶ added in v1.5.0
SetEc2InstanceId sets the Ec2InstanceId field's value.
func (*Instance) SetInstanceGroupId ¶ added in v1.5.0
SetInstanceGroupId sets the InstanceGroupId field's value.
func (*Instance) SetPrivateDnsName ¶ added in v1.5.0
SetPrivateDnsName sets the PrivateDnsName field's value.
func (*Instance) SetPrivateIpAddress ¶ added in v1.5.0
SetPrivateIpAddress sets the PrivateIpAddress field's value.
func (*Instance) SetPublicDnsName ¶ added in v1.5.0
SetPublicDnsName sets the PublicDnsName field's value.
func (*Instance) SetPublicIpAddress ¶ added in v1.5.0
SetPublicIpAddress sets the PublicIpAddress field's value.
func (*Instance) SetStatus ¶ added in v1.5.0
func (s *Instance) SetStatus(v *InstanceStatus) *Instance
SetStatus sets the Status field's value.
type InstanceGroup ¶
type InstanceGroup struct { // The bid price for each EC2 instance in the instance group when launching // nodes as Spot Instances, expressed in USD. BidPrice *string `type:"string"` // Amazon EMR releases 4.x or later. // // The list of configurations supplied for an EMR cluster instance group. You // can specify a separate configuration for each instance group (master, core, // and task). Configurations []*Configuration `type:"list"` // The EBS block devices that are mapped to this instance group. EbsBlockDevices []*EbsBlockDevice `type:"list"` // If the instance group is EBS-optimized. An Amazon EBS-optimized instance // uses an optimized configuration stack and provides additional, dedicated // capacity for Amazon EBS I/O. EbsOptimized *bool `type:"boolean"` // The identifier of the instance group. Id *string `type:"string"` // The type of the instance group. Valid values are MASTER, CORE or TASK. InstanceGroupType *string `type:"string" enum:"InstanceGroupType"` // The EC2 instance type for all instances in the instance group. InstanceType *string `min:"1" type:"string"` // The marketplace to provision instances for this group. Valid values are ON_DEMAND // or SPOT. Market *string `type:"string" enum:"MarketType"` // The name of the instance group. Name *string `type:"string"` // The target number of instances for the instance group. RequestedInstanceCount *int64 `type:"integer"` // The number of instances currently running in this instance group. RunningInstanceCount *int64 `type:"integer"` // Policy for customizing shrink operations. ShrinkPolicy *ShrinkPolicy `type:"structure"` // The current status of the instance group. Status *InstanceGroupStatus `type:"structure"` // contains filtered or unexported fields }
This entity represents an instance group, which is a group of instances that have common purpose. For example, CORE instance group is used for HDFS.
func (InstanceGroup) GoString ¶ added in v0.6.6
func (s InstanceGroup) GoString() string
GoString returns the string representation
func (*InstanceGroup) SetBidPrice ¶ added in v1.5.0
func (s *InstanceGroup) SetBidPrice(v string) *InstanceGroup
SetBidPrice sets the BidPrice field's value.
func (*InstanceGroup) SetConfigurations ¶ added in v1.5.0
func (s *InstanceGroup) SetConfigurations(v []*Configuration) *InstanceGroup
SetConfigurations sets the Configurations field's value.
func (*InstanceGroup) SetEbsBlockDevices ¶ added in v1.5.0
func (s *InstanceGroup) SetEbsBlockDevices(v []*EbsBlockDevice) *InstanceGroup
SetEbsBlockDevices sets the EbsBlockDevices field's value.
func (*InstanceGroup) SetEbsOptimized ¶ added in v1.5.0
func (s *InstanceGroup) SetEbsOptimized(v bool) *InstanceGroup
SetEbsOptimized sets the EbsOptimized field's value.
func (*InstanceGroup) SetId ¶ added in v1.5.0
func (s *InstanceGroup) SetId(v string) *InstanceGroup
SetId sets the Id field's value.
func (*InstanceGroup) SetInstanceGroupType ¶ added in v1.5.0
func (s *InstanceGroup) SetInstanceGroupType(v string) *InstanceGroup
SetInstanceGroupType sets the InstanceGroupType field's value.
func (*InstanceGroup) SetInstanceType ¶ added in v1.5.0
func (s *InstanceGroup) SetInstanceType(v string) *InstanceGroup
SetInstanceType sets the InstanceType field's value.
func (*InstanceGroup) SetMarket ¶ added in v1.5.0
func (s *InstanceGroup) SetMarket(v string) *InstanceGroup
SetMarket sets the Market field's value.
func (*InstanceGroup) SetName ¶ added in v1.5.0
func (s *InstanceGroup) SetName(v string) *InstanceGroup
SetName sets the Name field's value.
func (*InstanceGroup) SetRequestedInstanceCount ¶ added in v1.5.0
func (s *InstanceGroup) SetRequestedInstanceCount(v int64) *InstanceGroup
SetRequestedInstanceCount sets the RequestedInstanceCount field's value.
func (*InstanceGroup) SetRunningInstanceCount ¶ added in v1.5.0
func (s *InstanceGroup) SetRunningInstanceCount(v int64) *InstanceGroup
SetRunningInstanceCount sets the RunningInstanceCount field's value.
func (*InstanceGroup) SetShrinkPolicy ¶ added in v1.5.0
func (s *InstanceGroup) SetShrinkPolicy(v *ShrinkPolicy) *InstanceGroup
SetShrinkPolicy sets the ShrinkPolicy field's value.
func (*InstanceGroup) SetStatus ¶ added in v1.5.0
func (s *InstanceGroup) SetStatus(v *InstanceGroupStatus) *InstanceGroup
SetStatus sets the Status field's value.
func (InstanceGroup) String ¶ added in v0.6.6
func (s InstanceGroup) String() string
String returns the string representation
type InstanceGroupConfig ¶
type InstanceGroupConfig struct { // Bid price for each Amazon EC2 instance in the instance group when launching // nodes as Spot Instances, expressed in USD. BidPrice *string `type:"string"` // Amazon EMR releases 4.x or later. // // The list of configurations supplied for an EMR cluster instance group. You // can specify a separate configuration for each instance group (master, core, // and task). Configurations []*Configuration `type:"list"` // EBS configurations that will be attached to each Amazon EC2 instance in the // instance group. EbsConfiguration *EbsConfiguration `type:"structure"` // Target number of instances for the instance group. // // InstanceCount is a required field InstanceCount *int64 `type:"integer" required:"true"` // The role of the instance group in the cluster. // // InstanceRole is a required field InstanceRole *string `type:"string" required:"true" enum:"InstanceRoleType"` // The Amazon EC2 instance type for all instances in the instance group. // // InstanceType is a required field InstanceType *string `min:"1" type:"string" required:"true"` // Market type of the Amazon EC2 instances used to create a cluster node. Market *string `type:"string" enum:"MarketType"` // Friendly name given to the instance group. Name *string `type:"string"` // contains filtered or unexported fields }
Configuration defining a new instance group.
func (InstanceGroupConfig) GoString ¶ added in v0.6.6
func (s InstanceGroupConfig) GoString() string
GoString returns the string representation
func (*InstanceGroupConfig) SetBidPrice ¶ added in v1.5.0
func (s *InstanceGroupConfig) SetBidPrice(v string) *InstanceGroupConfig
SetBidPrice sets the BidPrice field's value.
func (*InstanceGroupConfig) SetConfigurations ¶ added in v1.5.0
func (s *InstanceGroupConfig) SetConfigurations(v []*Configuration) *InstanceGroupConfig
SetConfigurations sets the Configurations field's value.
func (*InstanceGroupConfig) SetEbsConfiguration ¶ added in v1.5.0
func (s *InstanceGroupConfig) SetEbsConfiguration(v *EbsConfiguration) *InstanceGroupConfig
SetEbsConfiguration sets the EbsConfiguration field's value.
func (*InstanceGroupConfig) SetInstanceCount ¶ added in v1.5.0
func (s *InstanceGroupConfig) SetInstanceCount(v int64) *InstanceGroupConfig
SetInstanceCount sets the InstanceCount field's value.
func (*InstanceGroupConfig) SetInstanceRole ¶ added in v1.5.0
func (s *InstanceGroupConfig) SetInstanceRole(v string) *InstanceGroupConfig
SetInstanceRole sets the InstanceRole field's value.
func (*InstanceGroupConfig) SetInstanceType ¶ added in v1.5.0
func (s *InstanceGroupConfig) SetInstanceType(v string) *InstanceGroupConfig
SetInstanceType sets the InstanceType field's value.
func (*InstanceGroupConfig) SetMarket ¶ added in v1.5.0
func (s *InstanceGroupConfig) SetMarket(v string) *InstanceGroupConfig
SetMarket sets the Market field's value.
func (*InstanceGroupConfig) SetName ¶ added in v1.5.0
func (s *InstanceGroupConfig) SetName(v string) *InstanceGroupConfig
SetName sets the Name field's value.
func (InstanceGroupConfig) String ¶ added in v0.6.6
func (s InstanceGroupConfig) String() string
String returns the string representation
func (*InstanceGroupConfig) Validate ¶ added in v1.1.22
func (s *InstanceGroupConfig) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type InstanceGroupDetail ¶
type InstanceGroupDetail struct { // Bid price for EC2 Instances when launching nodes as Spot Instances, expressed // in USD. BidPrice *string `type:"string"` // The date/time the instance group was created. // // CreationDateTime is a required field CreationDateTime *time.Time `type:"timestamp" timestampFormat:"unix" required:"true"` // The date/time the instance group was terminated. EndDateTime *time.Time `type:"timestamp" timestampFormat:"unix"` // Unique identifier for the instance group. InstanceGroupId *string `type:"string"` // Target number of instances to run in the instance group. // // InstanceRequestCount is a required field InstanceRequestCount *int64 `type:"integer" required:"true"` // Instance group role in the cluster // // InstanceRole is a required field InstanceRole *string `type:"string" required:"true" enum:"InstanceRoleType"` // Actual count of running instances. // // InstanceRunningCount is a required field InstanceRunningCount *int64 `type:"integer" required:"true"` // Amazon EC2 Instance type. // // InstanceType is a required field InstanceType *string `min:"1" type:"string" required:"true"` // Details regarding the state of the instance group. LastStateChangeReason *string `type:"string"` // Market type of the Amazon EC2 instances used to create a cluster node. // // Market is a required field Market *string `type:"string" required:"true" enum:"MarketType"` // Friendly name for the instance group. Name *string `type:"string"` // The date/time the instance group was available to the cluster. ReadyDateTime *time.Time `type:"timestamp" timestampFormat:"unix"` // The date/time the instance group was started. StartDateTime *time.Time `type:"timestamp" timestampFormat:"unix"` // State of instance group. The following values are deprecated: STARTING, TERMINATED, // and FAILED. // // State is a required field State *string `type:"string" required:"true" enum:"InstanceGroupState"` // contains filtered or unexported fields }
Detailed information about an instance group.
func (InstanceGroupDetail) GoString ¶ added in v0.6.6
func (s InstanceGroupDetail) GoString() string
GoString returns the string representation
func (*InstanceGroupDetail) SetBidPrice ¶ added in v1.5.0
func (s *InstanceGroupDetail) SetBidPrice(v string) *InstanceGroupDetail
SetBidPrice sets the BidPrice field's value.
func (*InstanceGroupDetail) SetCreationDateTime ¶ added in v1.5.0
func (s *InstanceGroupDetail) SetCreationDateTime(v time.Time) *InstanceGroupDetail
SetCreationDateTime sets the CreationDateTime field's value.
func (*InstanceGroupDetail) SetEndDateTime ¶ added in v1.5.0
func (s *InstanceGroupDetail) SetEndDateTime(v time.Time) *InstanceGroupDetail
SetEndDateTime sets the EndDateTime field's value.
func (*InstanceGroupDetail) SetInstanceGroupId ¶ added in v1.5.0
func (s *InstanceGroupDetail) SetInstanceGroupId(v string) *InstanceGroupDetail
SetInstanceGroupId sets the InstanceGroupId field's value.
func (*InstanceGroupDetail) SetInstanceRequestCount ¶ added in v1.5.0
func (s *InstanceGroupDetail) SetInstanceRequestCount(v int64) *InstanceGroupDetail
SetInstanceRequestCount sets the InstanceRequestCount field's value.
func (*InstanceGroupDetail) SetInstanceRole ¶ added in v1.5.0
func (s *InstanceGroupDetail) SetInstanceRole(v string) *InstanceGroupDetail
SetInstanceRole sets the InstanceRole field's value.
func (*InstanceGroupDetail) SetInstanceRunningCount ¶ added in v1.5.0
func (s *InstanceGroupDetail) SetInstanceRunningCount(v int64) *InstanceGroupDetail
SetInstanceRunningCount sets the InstanceRunningCount field's value.
func (*InstanceGroupDetail) SetInstanceType ¶ added in v1.5.0
func (s *InstanceGroupDetail) SetInstanceType(v string) *InstanceGroupDetail
SetInstanceType sets the InstanceType field's value.
func (*InstanceGroupDetail) SetLastStateChangeReason ¶ added in v1.5.0
func (s *InstanceGroupDetail) SetLastStateChangeReason(v string) *InstanceGroupDetail
SetLastStateChangeReason sets the LastStateChangeReason field's value.
func (*InstanceGroupDetail) SetMarket ¶ added in v1.5.0
func (s *InstanceGroupDetail) SetMarket(v string) *InstanceGroupDetail
SetMarket sets the Market field's value.
func (*InstanceGroupDetail) SetName ¶ added in v1.5.0
func (s *InstanceGroupDetail) SetName(v string) *InstanceGroupDetail
SetName sets the Name field's value.
func (*InstanceGroupDetail) SetReadyDateTime ¶ added in v1.5.0
func (s *InstanceGroupDetail) SetReadyDateTime(v time.Time) *InstanceGroupDetail
SetReadyDateTime sets the ReadyDateTime field's value.
func (*InstanceGroupDetail) SetStartDateTime ¶ added in v1.5.0
func (s *InstanceGroupDetail) SetStartDateTime(v time.Time) *InstanceGroupDetail
SetStartDateTime sets the StartDateTime field's value.
func (*InstanceGroupDetail) SetState ¶ added in v1.5.0
func (s *InstanceGroupDetail) SetState(v string) *InstanceGroupDetail
SetState sets the State field's value.
func (InstanceGroupDetail) String ¶ added in v0.6.6
func (s InstanceGroupDetail) String() string
String returns the string representation
type InstanceGroupModifyConfig ¶
type InstanceGroupModifyConfig struct { // The EC2 InstanceIds to terminate. Once you terminate the instances, the instance // group will not return to its original requested size. EC2InstanceIdsToTerminate []*string `type:"list"` // Target size for the instance group. InstanceCount *int64 `type:"integer"` // Unique ID of the instance group to expand or shrink. // // InstanceGroupId is a required field InstanceGroupId *string `type:"string" required:"true"` // Policy for customizing shrink operations. ShrinkPolicy *ShrinkPolicy `type:"structure"` // contains filtered or unexported fields }
Modify an instance group size.
func (InstanceGroupModifyConfig) GoString ¶ added in v0.6.6
func (s InstanceGroupModifyConfig) GoString() string
GoString returns the string representation
func (*InstanceGroupModifyConfig) SetEC2InstanceIdsToTerminate ¶ added in v1.5.0
func (s *InstanceGroupModifyConfig) SetEC2InstanceIdsToTerminate(v []*string) *InstanceGroupModifyConfig
SetEC2InstanceIdsToTerminate sets the EC2InstanceIdsToTerminate field's value.
func (*InstanceGroupModifyConfig) SetInstanceCount ¶ added in v1.5.0
func (s *InstanceGroupModifyConfig) SetInstanceCount(v int64) *InstanceGroupModifyConfig
SetInstanceCount sets the InstanceCount field's value.
func (*InstanceGroupModifyConfig) SetInstanceGroupId ¶ added in v1.5.0
func (s *InstanceGroupModifyConfig) SetInstanceGroupId(v string) *InstanceGroupModifyConfig
SetInstanceGroupId sets the InstanceGroupId field's value.
func (*InstanceGroupModifyConfig) SetShrinkPolicy ¶ added in v1.5.0
func (s *InstanceGroupModifyConfig) SetShrinkPolicy(v *ShrinkPolicy) *InstanceGroupModifyConfig
SetShrinkPolicy sets the ShrinkPolicy field's value.
func (InstanceGroupModifyConfig) String ¶ added in v0.6.6
func (s InstanceGroupModifyConfig) String() string
String returns the string representation
func (*InstanceGroupModifyConfig) Validate ¶ added in v1.1.22
func (s *InstanceGroupModifyConfig) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type InstanceGroupStateChangeReason ¶
type InstanceGroupStateChangeReason struct { // The programmable code for the state change reason. Code *string `type:"string" enum:"InstanceGroupStateChangeReasonCode"` // The status change reason description. Message *string `type:"string"` // contains filtered or unexported fields }
The status change reason details for the instance group.
func (InstanceGroupStateChangeReason) GoString ¶ added in v0.6.6
func (s InstanceGroupStateChangeReason) GoString() string
GoString returns the string representation
func (*InstanceGroupStateChangeReason) SetCode ¶ added in v1.5.0
func (s *InstanceGroupStateChangeReason) SetCode(v string) *InstanceGroupStateChangeReason
SetCode sets the Code field's value.
func (*InstanceGroupStateChangeReason) SetMessage ¶ added in v1.5.0
func (s *InstanceGroupStateChangeReason) SetMessage(v string) *InstanceGroupStateChangeReason
SetMessage sets the Message field's value.
func (InstanceGroupStateChangeReason) String ¶ added in v0.6.6
func (s InstanceGroupStateChangeReason) String() string
String returns the string representation
type InstanceGroupStatus ¶
type InstanceGroupStatus struct { // The current state of the instance group. State *string `type:"string" enum:"InstanceGroupState"` // The status change reason details for the instance group. StateChangeReason *InstanceGroupStateChangeReason `type:"structure"` // The timeline of the instance group status over time. Timeline *InstanceGroupTimeline `type:"structure"` // contains filtered or unexported fields }
The details of the instance group status.
func (InstanceGroupStatus) GoString ¶ added in v0.6.6
func (s InstanceGroupStatus) GoString() string
GoString returns the string representation
func (*InstanceGroupStatus) SetState ¶ added in v1.5.0
func (s *InstanceGroupStatus) SetState(v string) *InstanceGroupStatus
SetState sets the State field's value.
func (*InstanceGroupStatus) SetStateChangeReason ¶ added in v1.5.0
func (s *InstanceGroupStatus) SetStateChangeReason(v *InstanceGroupStateChangeReason) *InstanceGroupStatus
SetStateChangeReason sets the StateChangeReason field's value.
func (*InstanceGroupStatus) SetTimeline ¶ added in v1.5.0
func (s *InstanceGroupStatus) SetTimeline(v *InstanceGroupTimeline) *InstanceGroupStatus
SetTimeline sets the Timeline field's value.
func (InstanceGroupStatus) String ¶ added in v0.6.6
func (s InstanceGroupStatus) String() string
String returns the string representation
type InstanceGroupTimeline ¶
type InstanceGroupTimeline struct { // The creation date and time of the instance group. CreationDateTime *time.Time `type:"timestamp" timestampFormat:"unix"` // The date and time when the instance group terminated. EndDateTime *time.Time `type:"timestamp" timestampFormat:"unix"` // The date and time when the instance group became ready to perform tasks. ReadyDateTime *time.Time `type:"timestamp" timestampFormat:"unix"` // contains filtered or unexported fields }
The timeline of the instance group lifecycle.
func (InstanceGroupTimeline) GoString ¶ added in v0.6.6
func (s InstanceGroupTimeline) GoString() string
GoString returns the string representation
func (*InstanceGroupTimeline) SetCreationDateTime ¶ added in v1.5.0
func (s *InstanceGroupTimeline) SetCreationDateTime(v time.Time) *InstanceGroupTimeline
SetCreationDateTime sets the CreationDateTime field's value.
func (*InstanceGroupTimeline) SetEndDateTime ¶ added in v1.5.0
func (s *InstanceGroupTimeline) SetEndDateTime(v time.Time) *InstanceGroupTimeline
SetEndDateTime sets the EndDateTime field's value.
func (*InstanceGroupTimeline) SetReadyDateTime ¶ added in v1.5.0
func (s *InstanceGroupTimeline) SetReadyDateTime(v time.Time) *InstanceGroupTimeline
SetReadyDateTime sets the ReadyDateTime field's value.
func (InstanceGroupTimeline) String ¶ added in v0.6.6
func (s InstanceGroupTimeline) String() string
String returns the string representation
type InstanceResizePolicy ¶ added in v1.1.22
type InstanceResizePolicy struct { // Decommissioning timeout override for the specific list of instances to be // terminated. InstanceTerminationTimeout *int64 `type:"integer"` // Specific list of instances to be protected when shrinking an instance group. InstancesToProtect []*string `type:"list"` // Specific list of instances to be terminated when shrinking an instance group. InstancesToTerminate []*string `type:"list"` // contains filtered or unexported fields }
Custom policy for requesting termination protection or termination of specific instances when shrinking an instance group.
func (InstanceResizePolicy) GoString ¶ added in v1.1.22
func (s InstanceResizePolicy) GoString() string
GoString returns the string representation
func (*InstanceResizePolicy) SetInstanceTerminationTimeout ¶ added in v1.5.0
func (s *InstanceResizePolicy) SetInstanceTerminationTimeout(v int64) *InstanceResizePolicy
SetInstanceTerminationTimeout sets the InstanceTerminationTimeout field's value.
func (*InstanceResizePolicy) SetInstancesToProtect ¶ added in v1.5.0
func (s *InstanceResizePolicy) SetInstancesToProtect(v []*string) *InstanceResizePolicy
SetInstancesToProtect sets the InstancesToProtect field's value.
func (*InstanceResizePolicy) SetInstancesToTerminate ¶ added in v1.5.0
func (s *InstanceResizePolicy) SetInstancesToTerminate(v []*string) *InstanceResizePolicy
SetInstancesToTerminate sets the InstancesToTerminate field's value.
func (InstanceResizePolicy) String ¶ added in v1.1.22
func (s InstanceResizePolicy) String() string
String returns the string representation
type InstanceStateChangeReason ¶
type InstanceStateChangeReason struct { // The programmable code for the state change reason. Code *string `type:"string" enum:"InstanceStateChangeReasonCode"` // The status change reason description. Message *string `type:"string"` // contains filtered or unexported fields }
The details of the status change reason for the instance.
func (InstanceStateChangeReason) GoString ¶ added in v0.6.6
func (s InstanceStateChangeReason) GoString() string
GoString returns the string representation
func (*InstanceStateChangeReason) SetCode ¶ added in v1.5.0
func (s *InstanceStateChangeReason) SetCode(v string) *InstanceStateChangeReason
SetCode sets the Code field's value.
func (*InstanceStateChangeReason) SetMessage ¶ added in v1.5.0
func (s *InstanceStateChangeReason) SetMessage(v string) *InstanceStateChangeReason
SetMessage sets the Message field's value.
func (InstanceStateChangeReason) String ¶ added in v0.6.6
func (s InstanceStateChangeReason) String() string
String returns the string representation
type InstanceStatus ¶
type InstanceStatus struct { // The current state of the instance. State *string `type:"string" enum:"InstanceState"` // The details of the status change reason for the instance. StateChangeReason *InstanceStateChangeReason `type:"structure"` // The timeline of the instance status over time. Timeline *InstanceTimeline `type:"structure"` // contains filtered or unexported fields }
The instance status details.
func (InstanceStatus) GoString ¶ added in v0.6.6
func (s InstanceStatus) GoString() string
GoString returns the string representation
func (*InstanceStatus) SetState ¶ added in v1.5.0
func (s *InstanceStatus) SetState(v string) *InstanceStatus
SetState sets the State field's value.
func (*InstanceStatus) SetStateChangeReason ¶ added in v1.5.0
func (s *InstanceStatus) SetStateChangeReason(v *InstanceStateChangeReason) *InstanceStatus
SetStateChangeReason sets the StateChangeReason field's value.
func (*InstanceStatus) SetTimeline ¶ added in v1.5.0
func (s *InstanceStatus) SetTimeline(v *InstanceTimeline) *InstanceStatus
SetTimeline sets the Timeline field's value.
func (InstanceStatus) String ¶ added in v0.6.6
func (s InstanceStatus) String() string
String returns the string representation
type InstanceTimeline ¶
type InstanceTimeline struct { // The creation date and time of the instance. CreationDateTime *time.Time `type:"timestamp" timestampFormat:"unix"` // The date and time when the instance was terminated. EndDateTime *time.Time `type:"timestamp" timestampFormat:"unix"` // The date and time when the instance was ready to perform tasks. ReadyDateTime *time.Time `type:"timestamp" timestampFormat:"unix"` // contains filtered or unexported fields }
The timeline of the instance lifecycle.
func (InstanceTimeline) GoString ¶ added in v0.6.6
func (s InstanceTimeline) GoString() string
GoString returns the string representation
func (*InstanceTimeline) SetCreationDateTime ¶ added in v1.5.0
func (s *InstanceTimeline) SetCreationDateTime(v time.Time) *InstanceTimeline
SetCreationDateTime sets the CreationDateTime field's value.
func (*InstanceTimeline) SetEndDateTime ¶ added in v1.5.0
func (s *InstanceTimeline) SetEndDateTime(v time.Time) *InstanceTimeline
SetEndDateTime sets the EndDateTime field's value.
func (*InstanceTimeline) SetReadyDateTime ¶ added in v1.5.0
func (s *InstanceTimeline) SetReadyDateTime(v time.Time) *InstanceTimeline
SetReadyDateTime sets the ReadyDateTime field's value.
func (InstanceTimeline) String ¶ added in v0.6.6
func (s InstanceTimeline) String() string
String returns the string representation
type JobFlowDetail ¶
type JobFlowDetail struct { // The version of the AMI used to initialize Amazon EC2 instances in the job // flow. For a list of AMI versions currently supported by Amazon ElasticMapReduce, // go to AMI Versions Supported in Elastic MapReduce (http://docs.aws.amazon.com/ElasticMapReduce/latest/DeveloperGuide/EnvironmentConfig_AMIVersion.html#ami-versions-supported) // in the Amazon Elastic MapReduce Developer Guide. AmiVersion *string `type:"string"` // A list of the bootstrap actions run by the job flow. BootstrapActions []*BootstrapActionDetail `type:"list"` // Describes the execution status of the job flow. // // ExecutionStatusDetail is a required field ExecutionStatusDetail *JobFlowExecutionStatusDetail `type:"structure" required:"true"` // Describes the Amazon EC2 instances of the job flow. // // Instances is a required field Instances *JobFlowInstancesDetail `type:"structure" required:"true"` // The job flow identifier. // // JobFlowId is a required field JobFlowId *string `type:"string" required:"true"` // The IAM role that was specified when the job flow was launched. The EC2 instances // of the job flow assume this role. JobFlowRole *string `type:"string"` // The location in Amazon S3 where log files for the job are stored. LogUri *string `type:"string"` // The name of the job flow. // // Name is a required field Name *string `type:"string" required:"true"` // The IAM role that will be assumed by the Amazon EMR service to access AWS // resources on your behalf. ServiceRole *string `type:"string"` // A list of steps run by the job flow. Steps []*StepDetail `type:"list"` // A list of strings set by third party software when the job flow is launched. // If you are not using third party software to manage the job flow this value // is empty. SupportedProducts []*string `type:"list"` // Specifies whether the job flow is visible to all IAM users of the AWS account // associated with the job flow. If this value is set to true, all IAM users // of that AWS account can view and (if they have the proper policy permissions // set) manage the job flow. If it is set to false, only the IAM user that created // the job flow can view and manage it. This value can be changed using the // SetVisibleToAllUsers action. VisibleToAllUsers *bool `type:"boolean"` // contains filtered or unexported fields }
A description of a job flow.
func (JobFlowDetail) GoString ¶ added in v0.6.6
func (s JobFlowDetail) GoString() string
GoString returns the string representation
func (*JobFlowDetail) SetAmiVersion ¶ added in v1.5.0
func (s *JobFlowDetail) SetAmiVersion(v string) *JobFlowDetail
SetAmiVersion sets the AmiVersion field's value.
func (*JobFlowDetail) SetBootstrapActions ¶ added in v1.5.0
func (s *JobFlowDetail) SetBootstrapActions(v []*BootstrapActionDetail) *JobFlowDetail
SetBootstrapActions sets the BootstrapActions field's value.
func (*JobFlowDetail) SetExecutionStatusDetail ¶ added in v1.5.0
func (s *JobFlowDetail) SetExecutionStatusDetail(v *JobFlowExecutionStatusDetail) *JobFlowDetail
SetExecutionStatusDetail sets the ExecutionStatusDetail field's value.
func (*JobFlowDetail) SetInstances ¶ added in v1.5.0
func (s *JobFlowDetail) SetInstances(v *JobFlowInstancesDetail) *JobFlowDetail
SetInstances sets the Instances field's value.
func (*JobFlowDetail) SetJobFlowId ¶ added in v1.5.0
func (s *JobFlowDetail) SetJobFlowId(v string) *JobFlowDetail
SetJobFlowId sets the JobFlowId field's value.
func (*JobFlowDetail) SetJobFlowRole ¶ added in v1.5.0
func (s *JobFlowDetail) SetJobFlowRole(v string) *JobFlowDetail
SetJobFlowRole sets the JobFlowRole field's value.
func (*JobFlowDetail) SetLogUri ¶ added in v1.5.0
func (s *JobFlowDetail) SetLogUri(v string) *JobFlowDetail
SetLogUri sets the LogUri field's value.
func (*JobFlowDetail) SetName ¶ added in v1.5.0
func (s *JobFlowDetail) SetName(v string) *JobFlowDetail
SetName sets the Name field's value.
func (*JobFlowDetail) SetServiceRole ¶ added in v1.5.0
func (s *JobFlowDetail) SetServiceRole(v string) *JobFlowDetail
SetServiceRole sets the ServiceRole field's value.
func (*JobFlowDetail) SetSteps ¶ added in v1.5.0
func (s *JobFlowDetail) SetSteps(v []*StepDetail) *JobFlowDetail
SetSteps sets the Steps field's value.
func (*JobFlowDetail) SetSupportedProducts ¶ added in v1.5.0
func (s *JobFlowDetail) SetSupportedProducts(v []*string) *JobFlowDetail
SetSupportedProducts sets the SupportedProducts field's value.
func (*JobFlowDetail) SetVisibleToAllUsers ¶ added in v1.5.0
func (s *JobFlowDetail) SetVisibleToAllUsers(v bool) *JobFlowDetail
SetVisibleToAllUsers sets the VisibleToAllUsers field's value.
func (JobFlowDetail) String ¶ added in v0.6.6
func (s JobFlowDetail) String() string
String returns the string representation
type JobFlowExecutionStatusDetail ¶
type JobFlowExecutionStatusDetail struct { // The creation date and time of the job flow. // // CreationDateTime is a required field CreationDateTime *time.Time `type:"timestamp" timestampFormat:"unix" required:"true"` // The completion date and time of the job flow. EndDateTime *time.Time `type:"timestamp" timestampFormat:"unix"` // Description of the job flow last changed state. LastStateChangeReason *string `type:"string"` // The date and time when the job flow was ready to start running bootstrap // actions. ReadyDateTime *time.Time `type:"timestamp" timestampFormat:"unix"` // The start date and time of the job flow. StartDateTime *time.Time `type:"timestamp" timestampFormat:"unix"` // The state of the job flow. // // State is a required field State *string `type:"string" required:"true" enum:"JobFlowExecutionState"` // contains filtered or unexported fields }
Describes the status of the job flow.
func (JobFlowExecutionStatusDetail) GoString ¶ added in v0.6.6
func (s JobFlowExecutionStatusDetail) GoString() string
GoString returns the string representation
func (*JobFlowExecutionStatusDetail) SetCreationDateTime ¶ added in v1.5.0
func (s *JobFlowExecutionStatusDetail) SetCreationDateTime(v time.Time) *JobFlowExecutionStatusDetail
SetCreationDateTime sets the CreationDateTime field's value.
func (*JobFlowExecutionStatusDetail) SetEndDateTime ¶ added in v1.5.0
func (s *JobFlowExecutionStatusDetail) SetEndDateTime(v time.Time) *JobFlowExecutionStatusDetail
SetEndDateTime sets the EndDateTime field's value.
func (*JobFlowExecutionStatusDetail) SetLastStateChangeReason ¶ added in v1.5.0
func (s *JobFlowExecutionStatusDetail) SetLastStateChangeReason(v string) *JobFlowExecutionStatusDetail
SetLastStateChangeReason sets the LastStateChangeReason field's value.
func (*JobFlowExecutionStatusDetail) SetReadyDateTime ¶ added in v1.5.0
func (s *JobFlowExecutionStatusDetail) SetReadyDateTime(v time.Time) *JobFlowExecutionStatusDetail
SetReadyDateTime sets the ReadyDateTime field's value.
func (*JobFlowExecutionStatusDetail) SetStartDateTime ¶ added in v1.5.0
func (s *JobFlowExecutionStatusDetail) SetStartDateTime(v time.Time) *JobFlowExecutionStatusDetail
SetStartDateTime sets the StartDateTime field's value.
func (*JobFlowExecutionStatusDetail) SetState ¶ added in v1.5.0
func (s *JobFlowExecutionStatusDetail) SetState(v string) *JobFlowExecutionStatusDetail
SetState sets the State field's value.
func (JobFlowExecutionStatusDetail) String ¶ added in v0.6.6
func (s JobFlowExecutionStatusDetail) String() string
String returns the string representation
type JobFlowInstancesConfig ¶
type JobFlowInstancesConfig struct { // A list of additional Amazon EC2 security group IDs for the master node. AdditionalMasterSecurityGroups []*string `type:"list"` // A list of additional Amazon EC2 security group IDs for the slave nodes. AdditionalSlaveSecurityGroups []*string `type:"list"` // The name of the Amazon EC2 key pair that can be used to ssh to the master // node as the user called "hadoop." Ec2KeyName *string `type:"string"` // To launch the job flow in Amazon Virtual Private Cloud (Amazon VPC), set // this parameter to the identifier of the Amazon VPC subnet where you want // the job flow to launch. If you do not specify this value, the job flow is // launched in the normal Amazon Web Services cloud, outside of an Amazon VPC. // // Amazon VPC currently does not support cluster compute quadruple extra large // (cc1.4xlarge) instances. Thus you cannot specify the cc1.4xlarge instance // type for nodes of a job flow launched in a Amazon VPC. Ec2SubnetId *string `type:"string"` // The identifier of the Amazon EC2 security group for the master node. EmrManagedMasterSecurityGroup *string `type:"string"` // The identifier of the Amazon EC2 security group for the slave nodes. EmrManagedSlaveSecurityGroup *string `type:"string"` // The Hadoop version for the job flow. Valid inputs are "0.18" (deprecated), // "0.20" (deprecated), "0.20.205" (deprecated), "1.0.3", "2.2.0", or "2.4.0". // If you do not set this value, the default of 0.18 is used, unless the AmiVersion // parameter is set in the RunJobFlow call, in which case the default version // of Hadoop for that AMI version is used. HadoopVersion *string `type:"string"` // The number of Amazon EC2 instances used to execute the job flow. InstanceCount *int64 `type:"integer"` // Configuration for the job flow's instance groups. InstanceGroups []*InstanceGroupConfig `type:"list"` // Specifies whether the job flow should be kept alive after completing all // steps. KeepJobFlowAliveWhenNoSteps *bool `type:"boolean"` // The EC2 instance type of the master node. MasterInstanceType *string `min:"1" type:"string"` // The Availability Zone the job flow will run in. Placement *PlacementType `type:"structure"` // The identifier of the Amazon EC2 security group for the Amazon EMR service // to access clusters in VPC private subnets. ServiceAccessSecurityGroup *string `type:"string"` // The EC2 instance type of the slave nodes. SlaveInstanceType *string `min:"1" type:"string"` // Specifies whether to lock the job flow to prevent the Amazon EC2 instances // from being terminated by API call, user intervention, or in the event of // a job flow error. TerminationProtected *bool `type:"boolean"` // contains filtered or unexported fields }
A description of the Amazon EC2 instance running the job flow. A valid JobFlowInstancesConfig must contain at least InstanceGroups, which is the recommended configuration. However, a valid alternative is to have MasterInstanceType, SlaveInstanceType, and InstanceCount (all three must be present).
func (JobFlowInstancesConfig) GoString ¶ added in v0.6.6
func (s JobFlowInstancesConfig) GoString() string
GoString returns the string representation
func (*JobFlowInstancesConfig) SetAdditionalMasterSecurityGroups ¶ added in v1.5.0
func (s *JobFlowInstancesConfig) SetAdditionalMasterSecurityGroups(v []*string) *JobFlowInstancesConfig
SetAdditionalMasterSecurityGroups sets the AdditionalMasterSecurityGroups field's value.
func (*JobFlowInstancesConfig) SetAdditionalSlaveSecurityGroups ¶ added in v1.5.0
func (s *JobFlowInstancesConfig) SetAdditionalSlaveSecurityGroups(v []*string) *JobFlowInstancesConfig
SetAdditionalSlaveSecurityGroups sets the AdditionalSlaveSecurityGroups field's value.
func (*JobFlowInstancesConfig) SetEc2KeyName ¶ added in v1.5.0
func (s *JobFlowInstancesConfig) SetEc2KeyName(v string) *JobFlowInstancesConfig
SetEc2KeyName sets the Ec2KeyName field's value.
func (*JobFlowInstancesConfig) SetEc2SubnetId ¶ added in v1.5.0
func (s *JobFlowInstancesConfig) SetEc2SubnetId(v string) *JobFlowInstancesConfig
SetEc2SubnetId sets the Ec2SubnetId field's value.
func (*JobFlowInstancesConfig) SetEmrManagedMasterSecurityGroup ¶ added in v1.5.0
func (s *JobFlowInstancesConfig) SetEmrManagedMasterSecurityGroup(v string) *JobFlowInstancesConfig
SetEmrManagedMasterSecurityGroup sets the EmrManagedMasterSecurityGroup field's value.
func (*JobFlowInstancesConfig) SetEmrManagedSlaveSecurityGroup ¶ added in v1.5.0
func (s *JobFlowInstancesConfig) SetEmrManagedSlaveSecurityGroup(v string) *JobFlowInstancesConfig
SetEmrManagedSlaveSecurityGroup sets the EmrManagedSlaveSecurityGroup field's value.
func (*JobFlowInstancesConfig) SetHadoopVersion ¶ added in v1.5.0
func (s *JobFlowInstancesConfig) SetHadoopVersion(v string) *JobFlowInstancesConfig
SetHadoopVersion sets the HadoopVersion field's value.
func (*JobFlowInstancesConfig) SetInstanceCount ¶ added in v1.5.0
func (s *JobFlowInstancesConfig) SetInstanceCount(v int64) *JobFlowInstancesConfig
SetInstanceCount sets the InstanceCount field's value.
func (*JobFlowInstancesConfig) SetInstanceGroups ¶ added in v1.5.0
func (s *JobFlowInstancesConfig) SetInstanceGroups(v []*InstanceGroupConfig) *JobFlowInstancesConfig
SetInstanceGroups sets the InstanceGroups field's value.
func (*JobFlowInstancesConfig) SetKeepJobFlowAliveWhenNoSteps ¶ added in v1.5.0
func (s *JobFlowInstancesConfig) SetKeepJobFlowAliveWhenNoSteps(v bool) *JobFlowInstancesConfig
SetKeepJobFlowAliveWhenNoSteps sets the KeepJobFlowAliveWhenNoSteps field's value.
func (*JobFlowInstancesConfig) SetMasterInstanceType ¶ added in v1.5.0
func (s *JobFlowInstancesConfig) SetMasterInstanceType(v string) *JobFlowInstancesConfig
SetMasterInstanceType sets the MasterInstanceType field's value.
func (*JobFlowInstancesConfig) SetPlacement ¶ added in v1.5.0
func (s *JobFlowInstancesConfig) SetPlacement(v *PlacementType) *JobFlowInstancesConfig
SetPlacement sets the Placement field's value.
func (*JobFlowInstancesConfig) SetServiceAccessSecurityGroup ¶ added in v1.5.0
func (s *JobFlowInstancesConfig) SetServiceAccessSecurityGroup(v string) *JobFlowInstancesConfig
SetServiceAccessSecurityGroup sets the ServiceAccessSecurityGroup field's value.
func (*JobFlowInstancesConfig) SetSlaveInstanceType ¶ added in v1.5.0
func (s *JobFlowInstancesConfig) SetSlaveInstanceType(v string) *JobFlowInstancesConfig
SetSlaveInstanceType sets the SlaveInstanceType field's value.
func (*JobFlowInstancesConfig) SetTerminationProtected ¶ added in v1.5.0
func (s *JobFlowInstancesConfig) SetTerminationProtected(v bool) *JobFlowInstancesConfig
SetTerminationProtected sets the TerminationProtected field's value.
func (JobFlowInstancesConfig) String ¶ added in v0.6.6
func (s JobFlowInstancesConfig) String() string
String returns the string representation
func (*JobFlowInstancesConfig) Validate ¶ added in v1.1.22
func (s *JobFlowInstancesConfig) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type JobFlowInstancesDetail ¶
type JobFlowInstancesDetail struct { // The name of an Amazon EC2 key pair that can be used to ssh to the master // node of job flow. Ec2KeyName *string `type:"string"` // For job flows launched within Amazon Virtual Private Cloud, this value specifies // the identifier of the subnet where the job flow was launched. Ec2SubnetId *string `type:"string"` // The Hadoop version for the job flow. HadoopVersion *string `type:"string"` // The number of Amazon EC2 instances in the cluster. If the value is 1, the // same instance serves as both the master and slave node. If the value is greater // than 1, one instance is the master node and all others are slave nodes. // // InstanceCount is a required field InstanceCount *int64 `type:"integer" required:"true"` // Details about the job flow's instance groups. InstanceGroups []*InstanceGroupDetail `type:"list"` // Specifies whether the job flow should terminate after completing all steps. KeepJobFlowAliveWhenNoSteps *bool `type:"boolean"` // The Amazon EC2 instance identifier of the master node. MasterInstanceId *string `type:"string"` // The Amazon EC2 master node instance type. // // MasterInstanceType is a required field MasterInstanceType *string `min:"1" type:"string" required:"true"` // The DNS name of the master node. MasterPublicDnsName *string `type:"string"` // An approximation of the cost of the job flow, represented in m1.small/hours. // This value is incremented once for every hour an m1.small runs. Larger instances // are weighted more, so an Amazon EC2 instance that is roughly four times more // expensive would result in the normalized instance hours being incremented // by four. This result is only an approximation and does not reflect the actual // billing rate. NormalizedInstanceHours *int64 `type:"integer"` // The Amazon EC2 Availability Zone for the job flow. Placement *PlacementType `type:"structure"` // The Amazon EC2 slave node instance type. // // SlaveInstanceType is a required field SlaveInstanceType *string `min:"1" type:"string" required:"true"` // Specifies whether the Amazon EC2 instances in the cluster are protected from // termination by API calls, user intervention, or in the event of a job flow // error. TerminationProtected *bool `type:"boolean"` // contains filtered or unexported fields }
Specify the type of Amazon EC2 instances to run the job flow on.
func (JobFlowInstancesDetail) GoString ¶ added in v0.6.6
func (s JobFlowInstancesDetail) GoString() string
GoString returns the string representation
func (*JobFlowInstancesDetail) SetEc2KeyName ¶ added in v1.5.0
func (s *JobFlowInstancesDetail) SetEc2KeyName(v string) *JobFlowInstancesDetail
SetEc2KeyName sets the Ec2KeyName field's value.
func (*JobFlowInstancesDetail) SetEc2SubnetId ¶ added in v1.5.0
func (s *JobFlowInstancesDetail) SetEc2SubnetId(v string) *JobFlowInstancesDetail
SetEc2SubnetId sets the Ec2SubnetId field's value.
func (*JobFlowInstancesDetail) SetHadoopVersion ¶ added in v1.5.0
func (s *JobFlowInstancesDetail) SetHadoopVersion(v string) *JobFlowInstancesDetail
SetHadoopVersion sets the HadoopVersion field's value.
func (*JobFlowInstancesDetail) SetInstanceCount ¶ added in v1.5.0
func (s *JobFlowInstancesDetail) SetInstanceCount(v int64) *JobFlowInstancesDetail
SetInstanceCount sets the InstanceCount field's value.
func (*JobFlowInstancesDetail) SetInstanceGroups ¶ added in v1.5.0
func (s *JobFlowInstancesDetail) SetInstanceGroups(v []*InstanceGroupDetail) *JobFlowInstancesDetail
SetInstanceGroups sets the InstanceGroups field's value.
func (*JobFlowInstancesDetail) SetKeepJobFlowAliveWhenNoSteps ¶ added in v1.5.0
func (s *JobFlowInstancesDetail) SetKeepJobFlowAliveWhenNoSteps(v bool) *JobFlowInstancesDetail
SetKeepJobFlowAliveWhenNoSteps sets the KeepJobFlowAliveWhenNoSteps field's value.
func (*JobFlowInstancesDetail) SetMasterInstanceId ¶ added in v1.5.0
func (s *JobFlowInstancesDetail) SetMasterInstanceId(v string) *JobFlowInstancesDetail
SetMasterInstanceId sets the MasterInstanceId field's value.
func (*JobFlowInstancesDetail) SetMasterInstanceType ¶ added in v1.5.0
func (s *JobFlowInstancesDetail) SetMasterInstanceType(v string) *JobFlowInstancesDetail
SetMasterInstanceType sets the MasterInstanceType field's value.
func (*JobFlowInstancesDetail) SetMasterPublicDnsName ¶ added in v1.5.0
func (s *JobFlowInstancesDetail) SetMasterPublicDnsName(v string) *JobFlowInstancesDetail
SetMasterPublicDnsName sets the MasterPublicDnsName field's value.
func (*JobFlowInstancesDetail) SetNormalizedInstanceHours ¶ added in v1.5.0
func (s *JobFlowInstancesDetail) SetNormalizedInstanceHours(v int64) *JobFlowInstancesDetail
SetNormalizedInstanceHours sets the NormalizedInstanceHours field's value.
func (*JobFlowInstancesDetail) SetPlacement ¶ added in v1.5.0
func (s *JobFlowInstancesDetail) SetPlacement(v *PlacementType) *JobFlowInstancesDetail
SetPlacement sets the Placement field's value.
func (*JobFlowInstancesDetail) SetSlaveInstanceType ¶ added in v1.5.0
func (s *JobFlowInstancesDetail) SetSlaveInstanceType(v string) *JobFlowInstancesDetail
SetSlaveInstanceType sets the SlaveInstanceType field's value.
func (*JobFlowInstancesDetail) SetTerminationProtected ¶ added in v1.5.0
func (s *JobFlowInstancesDetail) SetTerminationProtected(v bool) *JobFlowInstancesDetail
SetTerminationProtected sets the TerminationProtected field's value.
func (JobFlowInstancesDetail) String ¶ added in v0.6.6
func (s JobFlowInstancesDetail) String() string
String returns the string representation
type KeyValue ¶
type KeyValue struct { // The unique identifier of a key value pair. Key *string `type:"string"` // The value part of the identified key. Value *string `type:"string"` // contains filtered or unexported fields }
A key value pair.
type ListBootstrapActionsInput ¶
type ListBootstrapActionsInput struct { // The cluster identifier for the bootstrap actions to list . // // ClusterId is a required field ClusterId *string `type:"string" required:"true"` // The pagination token that indicates the next set of results to retrieve. Marker *string `type:"string"` // contains filtered or unexported fields }
This input determines which bootstrap actions to retrieve.
func (ListBootstrapActionsInput) GoString ¶ added in v0.6.6
func (s ListBootstrapActionsInput) GoString() string
GoString returns the string representation
func (*ListBootstrapActionsInput) SetClusterId ¶ added in v1.5.0
func (s *ListBootstrapActionsInput) SetClusterId(v string) *ListBootstrapActionsInput
SetClusterId sets the ClusterId field's value.
func (*ListBootstrapActionsInput) SetMarker ¶ added in v1.5.0
func (s *ListBootstrapActionsInput) SetMarker(v string) *ListBootstrapActionsInput
SetMarker sets the Marker field's value.
func (ListBootstrapActionsInput) String ¶ added in v0.6.6
func (s ListBootstrapActionsInput) String() string
String returns the string representation
func (*ListBootstrapActionsInput) Validate ¶ added in v1.1.22
func (s *ListBootstrapActionsInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ListBootstrapActionsOutput ¶
type ListBootstrapActionsOutput struct { // The bootstrap actions associated with the cluster . BootstrapActions []*Command `type:"list"` // The pagination token that indicates the next set of results to retrieve. Marker *string `type:"string"` // contains filtered or unexported fields }
This output contains the boostrap actions detail .
func (ListBootstrapActionsOutput) GoString ¶ added in v0.6.6
func (s ListBootstrapActionsOutput) GoString() string
GoString returns the string representation
func (*ListBootstrapActionsOutput) SetBootstrapActions ¶ added in v1.5.0
func (s *ListBootstrapActionsOutput) SetBootstrapActions(v []*Command) *ListBootstrapActionsOutput
SetBootstrapActions sets the BootstrapActions field's value.
func (*ListBootstrapActionsOutput) SetMarker ¶ added in v1.5.0
func (s *ListBootstrapActionsOutput) SetMarker(v string) *ListBootstrapActionsOutput
SetMarker sets the Marker field's value.
func (ListBootstrapActionsOutput) String ¶ added in v0.6.6
func (s ListBootstrapActionsOutput) String() string
String returns the string representation
type ListClustersInput ¶
type ListClustersInput struct { // The cluster state filters to apply when listing clusters. ClusterStates []*string `type:"list"` // The creation date and time beginning value filter for listing clusters . CreatedAfter *time.Time `type:"timestamp" timestampFormat:"unix"` // The creation date and time end value filter for listing clusters . CreatedBefore *time.Time `type:"timestamp" timestampFormat:"unix"` // The pagination token that indicates the next set of results to retrieve. Marker *string `type:"string"` // contains filtered or unexported fields }
This input determines how the ListClusters action filters the list of clusters that it returns.
func (ListClustersInput) GoString ¶ added in v0.6.6
func (s ListClustersInput) GoString() string
GoString returns the string representation
func (*ListClustersInput) SetClusterStates ¶ added in v1.5.0
func (s *ListClustersInput) SetClusterStates(v []*string) *ListClustersInput
SetClusterStates sets the ClusterStates field's value.
func (*ListClustersInput) SetCreatedAfter ¶ added in v1.5.0
func (s *ListClustersInput) SetCreatedAfter(v time.Time) *ListClustersInput
SetCreatedAfter sets the CreatedAfter field's value.
func (*ListClustersInput) SetCreatedBefore ¶ added in v1.5.0
func (s *ListClustersInput) SetCreatedBefore(v time.Time) *ListClustersInput
SetCreatedBefore sets the CreatedBefore field's value.
func (*ListClustersInput) SetMarker ¶ added in v1.5.0
func (s *ListClustersInput) SetMarker(v string) *ListClustersInput
SetMarker sets the Marker field's value.
func (ListClustersInput) String ¶ added in v0.6.6
func (s ListClustersInput) String() string
String returns the string representation
type ListClustersOutput ¶
type ListClustersOutput struct { // The list of clusters for the account based on the given filters. Clusters []*ClusterSummary `type:"list"` // The pagination token that indicates the next set of results to retrieve. Marker *string `type:"string"` // contains filtered or unexported fields }
This contains a ClusterSummaryList with the cluster details; for example, the cluster IDs, names, and status.
func (ListClustersOutput) GoString ¶ added in v0.6.6
func (s ListClustersOutput) GoString() string
GoString returns the string representation
func (*ListClustersOutput) SetClusters ¶ added in v1.5.0
func (s *ListClustersOutput) SetClusters(v []*ClusterSummary) *ListClustersOutput
SetClusters sets the Clusters field's value.
func (*ListClustersOutput) SetMarker ¶ added in v1.5.0
func (s *ListClustersOutput) SetMarker(v string) *ListClustersOutput
SetMarker sets the Marker field's value.
func (ListClustersOutput) String ¶ added in v0.6.6
func (s ListClustersOutput) String() string
String returns the string representation
type ListInstanceGroupsInput ¶
type ListInstanceGroupsInput struct { // The identifier of the cluster for which to list the instance groups. // // ClusterId is a required field ClusterId *string `type:"string" required:"true"` // The pagination token that indicates the next set of results to retrieve. Marker *string `type:"string"` // contains filtered or unexported fields }
This input determines which instance groups to retrieve.
func (ListInstanceGroupsInput) GoString ¶ added in v0.6.6
func (s ListInstanceGroupsInput) GoString() string
GoString returns the string representation
func (*ListInstanceGroupsInput) SetClusterId ¶ added in v1.5.0
func (s *ListInstanceGroupsInput) SetClusterId(v string) *ListInstanceGroupsInput
SetClusterId sets the ClusterId field's value.
func (*ListInstanceGroupsInput) SetMarker ¶ added in v1.5.0
func (s *ListInstanceGroupsInput) SetMarker(v string) *ListInstanceGroupsInput
SetMarker sets the Marker field's value.
func (ListInstanceGroupsInput) String ¶ added in v0.6.6
func (s ListInstanceGroupsInput) String() string
String returns the string representation
func (*ListInstanceGroupsInput) Validate ¶ added in v1.1.22
func (s *ListInstanceGroupsInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ListInstanceGroupsOutput ¶
type ListInstanceGroupsOutput struct { // The list of instance groups for the cluster and given filters. InstanceGroups []*InstanceGroup `type:"list"` // The pagination token that indicates the next set of results to retrieve. Marker *string `type:"string"` // contains filtered or unexported fields }
This input determines which instance groups to retrieve.
func (ListInstanceGroupsOutput) GoString ¶ added in v0.6.6
func (s ListInstanceGroupsOutput) GoString() string
GoString returns the string representation
func (*ListInstanceGroupsOutput) SetInstanceGroups ¶ added in v1.5.0
func (s *ListInstanceGroupsOutput) SetInstanceGroups(v []*InstanceGroup) *ListInstanceGroupsOutput
SetInstanceGroups sets the InstanceGroups field's value.
func (*ListInstanceGroupsOutput) SetMarker ¶ added in v1.5.0
func (s *ListInstanceGroupsOutput) SetMarker(v string) *ListInstanceGroupsOutput
SetMarker sets the Marker field's value.
func (ListInstanceGroupsOutput) String ¶ added in v0.6.6
func (s ListInstanceGroupsOutput) String() string
String returns the string representation
type ListInstancesInput ¶
type ListInstancesInput struct { // The identifier of the cluster for which to list the instances. // // ClusterId is a required field ClusterId *string `type:"string" required:"true"` // The identifier of the instance group for which to list the instances. InstanceGroupId *string `type:"string"` // The type of instance group for which to list the instances. InstanceGroupTypes []*string `type:"list"` // A list of instance states that will filter the instances returned with this // request. InstanceStates []*string `type:"list"` // The pagination token that indicates the next set of results to retrieve. Marker *string `type:"string"` // contains filtered or unexported fields }
This input determines which instances to list.
func (ListInstancesInput) GoString ¶ added in v0.6.6
func (s ListInstancesInput) GoString() string
GoString returns the string representation
func (*ListInstancesInput) SetClusterId ¶ added in v1.5.0
func (s *ListInstancesInput) SetClusterId(v string) *ListInstancesInput
SetClusterId sets the ClusterId field's value.
func (*ListInstancesInput) SetInstanceGroupId ¶ added in v1.5.0
func (s *ListInstancesInput) SetInstanceGroupId(v string) *ListInstancesInput
SetInstanceGroupId sets the InstanceGroupId field's value.
func (*ListInstancesInput) SetInstanceGroupTypes ¶ added in v1.5.0
func (s *ListInstancesInput) SetInstanceGroupTypes(v []*string) *ListInstancesInput
SetInstanceGroupTypes sets the InstanceGroupTypes field's value.
func (*ListInstancesInput) SetInstanceStates ¶ added in v1.5.0
func (s *ListInstancesInput) SetInstanceStates(v []*string) *ListInstancesInput
SetInstanceStates sets the InstanceStates field's value.
func (*ListInstancesInput) SetMarker ¶ added in v1.5.0
func (s *ListInstancesInput) SetMarker(v string) *ListInstancesInput
SetMarker sets the Marker field's value.
func (ListInstancesInput) String ¶ added in v0.6.6
func (s ListInstancesInput) String() string
String returns the string representation
func (*ListInstancesInput) Validate ¶ added in v1.1.22
func (s *ListInstancesInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ListInstancesOutput ¶
type ListInstancesOutput struct { // The list of instances for the cluster and given filters. Instances []*Instance `type:"list"` // The pagination token that indicates the next set of results to retrieve. Marker *string `type:"string"` // contains filtered or unexported fields }
This output contains the list of instances.
func (ListInstancesOutput) GoString ¶ added in v0.6.6
func (s ListInstancesOutput) GoString() string
GoString returns the string representation
func (*ListInstancesOutput) SetInstances ¶ added in v1.5.0
func (s *ListInstancesOutput) SetInstances(v []*Instance) *ListInstancesOutput
SetInstances sets the Instances field's value.
func (*ListInstancesOutput) SetMarker ¶ added in v1.5.0
func (s *ListInstancesOutput) SetMarker(v string) *ListInstancesOutput
SetMarker sets the Marker field's value.
func (ListInstancesOutput) String ¶ added in v0.6.6
func (s ListInstancesOutput) String() string
String returns the string representation
type ListSecurityConfigurationsInput ¶ added in v1.4.16
type ListSecurityConfigurationsInput struct { // The pagination token that indicates the set of results to retrieve. Marker *string `type:"string"` // contains filtered or unexported fields }
func (ListSecurityConfigurationsInput) GoString ¶ added in v1.4.16
func (s ListSecurityConfigurationsInput) GoString() string
GoString returns the string representation
func (*ListSecurityConfigurationsInput) SetMarker ¶ added in v1.5.0
func (s *ListSecurityConfigurationsInput) SetMarker(v string) *ListSecurityConfigurationsInput
SetMarker sets the Marker field's value.
func (ListSecurityConfigurationsInput) String ¶ added in v1.4.16
func (s ListSecurityConfigurationsInput) String() string
String returns the string representation
type ListSecurityConfigurationsOutput ¶ added in v1.4.16
type ListSecurityConfigurationsOutput struct { // A pagination token that indicates the next set of results to retrieve. Include // the marker in the next ListSecurityConfiguration call to retrieve the next // page of results, if required. Marker *string `type:"string"` // The creation date and time, and name, of each security configuration. SecurityConfigurations []*SecurityConfigurationSummary `type:"list"` // contains filtered or unexported fields }
func (ListSecurityConfigurationsOutput) GoString ¶ added in v1.4.16
func (s ListSecurityConfigurationsOutput) GoString() string
GoString returns the string representation
func (*ListSecurityConfigurationsOutput) SetMarker ¶ added in v1.5.0
func (s *ListSecurityConfigurationsOutput) SetMarker(v string) *ListSecurityConfigurationsOutput
SetMarker sets the Marker field's value.
func (*ListSecurityConfigurationsOutput) SetSecurityConfigurations ¶ added in v1.5.0
func (s *ListSecurityConfigurationsOutput) SetSecurityConfigurations(v []*SecurityConfigurationSummary) *ListSecurityConfigurationsOutput
SetSecurityConfigurations sets the SecurityConfigurations field's value.
func (ListSecurityConfigurationsOutput) String ¶ added in v1.4.16
func (s ListSecurityConfigurationsOutput) String() string
String returns the string representation
type ListStepsInput ¶
type ListStepsInput struct { // The identifier of the cluster for which to list the steps. // // ClusterId is a required field ClusterId *string `type:"string" required:"true"` // The pagination token that indicates the next set of results to retrieve. Marker *string `type:"string"` // The filter to limit the step list based on the identifier of the steps. StepIds []*string `type:"list"` // The filter to limit the step list based on certain states. StepStates []*string `type:"list"` // contains filtered or unexported fields }
This input determines which steps to list.
func (ListStepsInput) GoString ¶ added in v0.6.6
func (s ListStepsInput) GoString() string
GoString returns the string representation
func (*ListStepsInput) SetClusterId ¶ added in v1.5.0
func (s *ListStepsInput) SetClusterId(v string) *ListStepsInput
SetClusterId sets the ClusterId field's value.
func (*ListStepsInput) SetMarker ¶ added in v1.5.0
func (s *ListStepsInput) SetMarker(v string) *ListStepsInput
SetMarker sets the Marker field's value.
func (*ListStepsInput) SetStepIds ¶ added in v1.5.0
func (s *ListStepsInput) SetStepIds(v []*string) *ListStepsInput
SetStepIds sets the StepIds field's value.
func (*ListStepsInput) SetStepStates ¶ added in v1.5.0
func (s *ListStepsInput) SetStepStates(v []*string) *ListStepsInput
SetStepStates sets the StepStates field's value.
func (ListStepsInput) String ¶ added in v0.6.6
func (s ListStepsInput) String() string
String returns the string representation
func (*ListStepsInput) Validate ¶ added in v1.1.22
func (s *ListStepsInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ListStepsOutput ¶
type ListStepsOutput struct { // The pagination token that indicates the next set of results to retrieve. Marker *string `type:"string"` // The filtered list of steps for the cluster. Steps []*StepSummary `type:"list"` // contains filtered or unexported fields }
This output contains the list of steps returned in reverse order. This means that the last step is the first element in the list.
func (ListStepsOutput) GoString ¶ added in v0.6.6
func (s ListStepsOutput) GoString() string
GoString returns the string representation
func (*ListStepsOutput) SetMarker ¶ added in v1.5.0
func (s *ListStepsOutput) SetMarker(v string) *ListStepsOutput
SetMarker sets the Marker field's value.
func (*ListStepsOutput) SetSteps ¶ added in v1.5.0
func (s *ListStepsOutput) SetSteps(v []*StepSummary) *ListStepsOutput
SetSteps sets the Steps field's value.
func (ListStepsOutput) String ¶ added in v0.6.6
func (s ListStepsOutput) String() string
String returns the string representation
type ModifyInstanceGroupsInput ¶
type ModifyInstanceGroupsInput struct { // Instance groups to change. InstanceGroups []*InstanceGroupModifyConfig `type:"list"` // contains filtered or unexported fields }
Change the size of some instance groups.
func (ModifyInstanceGroupsInput) GoString ¶ added in v0.6.6
func (s ModifyInstanceGroupsInput) GoString() string
GoString returns the string representation
func (*ModifyInstanceGroupsInput) SetInstanceGroups ¶ added in v1.5.0
func (s *ModifyInstanceGroupsInput) SetInstanceGroups(v []*InstanceGroupModifyConfig) *ModifyInstanceGroupsInput
SetInstanceGroups sets the InstanceGroups field's value.
func (ModifyInstanceGroupsInput) String ¶ added in v0.6.6
func (s ModifyInstanceGroupsInput) String() string
String returns the string representation
func (*ModifyInstanceGroupsInput) Validate ¶ added in v1.1.22
func (s *ModifyInstanceGroupsInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ModifyInstanceGroupsOutput ¶
type ModifyInstanceGroupsOutput struct {
// contains filtered or unexported fields
}
func (ModifyInstanceGroupsOutput) GoString ¶ added in v0.6.6
func (s ModifyInstanceGroupsOutput) GoString() string
GoString returns the string representation
func (ModifyInstanceGroupsOutput) String ¶ added in v0.6.6
func (s ModifyInstanceGroupsOutput) String() string
String returns the string representation
type PlacementType ¶
type PlacementType struct { // The Amazon EC2 Availability Zone for the job flow. // // AvailabilityZone is a required field AvailabilityZone *string `type:"string" required:"true"` // contains filtered or unexported fields }
The Amazon EC2 location for the job flow.
func (PlacementType) GoString ¶ added in v0.6.6
func (s PlacementType) GoString() string
GoString returns the string representation
func (*PlacementType) SetAvailabilityZone ¶ added in v1.5.0
func (s *PlacementType) SetAvailabilityZone(v string) *PlacementType
SetAvailabilityZone sets the AvailabilityZone field's value.
func (PlacementType) String ¶ added in v0.6.6
func (s PlacementType) String() string
String returns the string representation
func (*PlacementType) Validate ¶ added in v1.1.22
func (s *PlacementType) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type RemoveTagsInput ¶
type RemoveTagsInput struct { // The Amazon EMR resource identifier from which tags will be removed. This // value must be a cluster identifier. // // ResourceId is a required field ResourceId *string `type:"string" required:"true"` // A list of tag keys to remove from a resource. // // TagKeys is a required field TagKeys []*string `type:"list" required:"true"` // contains filtered or unexported fields }
This input identifies a cluster and a list of tags to remove.
func (RemoveTagsInput) GoString ¶ added in v0.6.6
func (s RemoveTagsInput) GoString() string
GoString returns the string representation
func (*RemoveTagsInput) SetResourceId ¶ added in v1.5.0
func (s *RemoveTagsInput) SetResourceId(v string) *RemoveTagsInput
SetResourceId sets the ResourceId field's value.
func (*RemoveTagsInput) SetTagKeys ¶ added in v1.5.0
func (s *RemoveTagsInput) SetTagKeys(v []*string) *RemoveTagsInput
SetTagKeys sets the TagKeys field's value.
func (RemoveTagsInput) String ¶ added in v0.6.6
func (s RemoveTagsInput) String() string
String returns the string representation
func (*RemoveTagsInput) Validate ¶ added in v1.1.22
func (s *RemoveTagsInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type RemoveTagsOutput ¶
type RemoveTagsOutput struct {
// contains filtered or unexported fields
}
This output indicates the result of removing tags from a resource.
func (RemoveTagsOutput) GoString ¶ added in v0.6.6
func (s RemoveTagsOutput) GoString() string
GoString returns the string representation
func (RemoveTagsOutput) String ¶ added in v0.6.6
func (s RemoveTagsOutput) String() string
String returns the string representation
type RunJobFlowInput ¶
type RunJobFlowInput struct { // A JSON string for selecting additional features. AdditionalInfo *string `type:"string"` // For Amazon EMR releases 3.x and 2.x. For Amazon EMR releases 4.x and greater, // use ReleaseLabel. // // The version of the Amazon Machine Image (AMI) to use when launching Amazon // EC2 instances in the job flow. The following values are valid: // // * The version number of the AMI to use, for example, "2.0." // // If the AMI supports multiple versions of Hadoop (for example, AMI 1.0 supports // both Hadoop 0.18 and 0.20) you can use the JobFlowInstancesConfigHadoopVersion // parameter to modify the version of Hadoop from the defaults shown above. // // For details about the AMI versions currently supported by Amazon Elastic // MapReduce, go to AMI Versions Supported in Elastic MapReduce (http://docs.aws.amazon.com/ElasticMapReduce/latest/DeveloperGuide/EnvironmentConfig_AMIVersion.html#ami-versions-supported) // in the Amazon Elastic MapReduce Developer's Guide. AmiVersion *string `type:"string"` // Amazon EMR releases 4.x or later. // // A list of applications for the cluster. Valid values are: "Hadoop", "Hive", // "Mahout", "Pig", and "Spark." They are case insensitive. Applications []*Application `type:"list"` // A list of bootstrap actions that will be run before Hadoop is started on // the cluster nodes. BootstrapActions []*BootstrapActionConfig `type:"list"` // Amazon EMR releases 4.x or later. // // The list of configurations supplied for the EMR cluster you are creating. Configurations []*Configuration `type:"list"` // A specification of the number and type of Amazon EC2 instances on which to // run the job flow. // // Instances is a required field Instances *JobFlowInstancesConfig `type:"structure" required:"true"` // Also called instance profile and EC2 role. An IAM role for an EMR cluster. // The EC2 instances of the cluster assume this role. The default role is EMR_EC2_DefaultRole. // In order to use the default role, you must have already created it using // the CLI or console. JobFlowRole *string `type:"string"` // The location in Amazon S3 to write the log files of the job flow. If a value // is not provided, logs are not created. LogUri *string `type:"string"` // The name of the job flow. // // Name is a required field Name *string `type:"string" required:"true"` // For Amazon EMR releases 3.x and 2.x. For Amazon EMR releases 4.x and greater, // use Applications. // // A list of strings that indicates third-party software to use with the job // flow that accepts a user argument list. EMR accepts and forwards the argument // list to the corresponding installation script as bootstrap action arguments. // For more information, see Launch a Job Flow on the MapR Distribution for // Hadoop (http://docs.aws.amazon.com/ElasticMapReduce/latest/DeveloperGuide/emr-mapr.html). // Currently supported values are: // // * "mapr-m3" - launch the cluster using MapR M3 Edition. // // * "mapr-m5" - launch the cluster using MapR M5 Edition. // // * "mapr" with the user arguments specifying "--edition,m3" or "--edition,m5" // - launch the job flow using MapR M3 or M5 Edition respectively. // // * "mapr-m7" - launch the cluster using MapR M7 Edition. // // * "hunk" - launch the cluster with the Hunk Big Data Analtics Platform. // // * "hue"- launch the cluster with Hue installed. // // * "spark" - launch the cluster with Apache Spark installed. // // * "ganglia" - launch the cluster with the Ganglia Monitoring System installed. NewSupportedProducts []*SupportedProductConfig `type:"list"` // Amazon EMR releases 4.x or later. // // The release label for the Amazon EMR release. For Amazon EMR 3.x and 2.x // AMIs, use amiVersion instead instead of ReleaseLabel. ReleaseLabel *string `type:"string"` // The name of a security configuration to apply to the cluster. SecurityConfiguration *string `type:"string"` // The IAM role that will be assumed by the Amazon EMR service to access AWS // resources on your behalf. ServiceRole *string `type:"string"` // A list of steps to be executed by the job flow. Steps []*StepConfig `type:"list"` // For Amazon EMR releases 3.x and 2.x. For Amazon EMR releases 4.x and greater, // use Applications. // // A list of strings that indicates third-party software to use with the job // flow. For more information, go to Use Third Party Applications with Amazon // EMR (http://docs.aws.amazon.com/ElasticMapReduce/latest/DeveloperGuide/emr-supported-products.html). // Currently supported values are: // // * "mapr-m3" - launch the job flow using MapR M3 Edition. // // * "mapr-m5" - launch the job flow using MapR M5 Edition. SupportedProducts []*string `type:"list"` // A list of tags to associate with a cluster and propagate to Amazon EC2 instances. Tags []*Tag `type:"list"` // Whether the job flow is visible to all IAM users of the AWS account associated // with the job flow. If this value is set to true, all IAM users of that AWS // account can view and (if they have the proper policy permissions set) manage // the job flow. If it is set to false, only the IAM user that created the job // flow can view and manage it. VisibleToAllUsers *bool `type:"boolean"` // contains filtered or unexported fields }
Input to the RunJobFlow operation.
func (RunJobFlowInput) GoString ¶ added in v0.6.6
func (s RunJobFlowInput) GoString() string
GoString returns the string representation
func (*RunJobFlowInput) SetAdditionalInfo ¶ added in v1.5.0
func (s *RunJobFlowInput) SetAdditionalInfo(v string) *RunJobFlowInput
SetAdditionalInfo sets the AdditionalInfo field's value.
func (*RunJobFlowInput) SetAmiVersion ¶ added in v1.5.0
func (s *RunJobFlowInput) SetAmiVersion(v string) *RunJobFlowInput
SetAmiVersion sets the AmiVersion field's value.
func (*RunJobFlowInput) SetApplications ¶ added in v1.5.0
func (s *RunJobFlowInput) SetApplications(v []*Application) *RunJobFlowInput
SetApplications sets the Applications field's value.
func (*RunJobFlowInput) SetBootstrapActions ¶ added in v1.5.0
func (s *RunJobFlowInput) SetBootstrapActions(v []*BootstrapActionConfig) *RunJobFlowInput
SetBootstrapActions sets the BootstrapActions field's value.
func (*RunJobFlowInput) SetConfigurations ¶ added in v1.5.0
func (s *RunJobFlowInput) SetConfigurations(v []*Configuration) *RunJobFlowInput
SetConfigurations sets the Configurations field's value.
func (*RunJobFlowInput) SetInstances ¶ added in v1.5.0
func (s *RunJobFlowInput) SetInstances(v *JobFlowInstancesConfig) *RunJobFlowInput
SetInstances sets the Instances field's value.
func (*RunJobFlowInput) SetJobFlowRole ¶ added in v1.5.0
func (s *RunJobFlowInput) SetJobFlowRole(v string) *RunJobFlowInput
SetJobFlowRole sets the JobFlowRole field's value.
func (*RunJobFlowInput) SetLogUri ¶ added in v1.5.0
func (s *RunJobFlowInput) SetLogUri(v string) *RunJobFlowInput
SetLogUri sets the LogUri field's value.
func (*RunJobFlowInput) SetName ¶ added in v1.5.0
func (s *RunJobFlowInput) SetName(v string) *RunJobFlowInput
SetName sets the Name field's value.
func (*RunJobFlowInput) SetNewSupportedProducts ¶ added in v1.5.0
func (s *RunJobFlowInput) SetNewSupportedProducts(v []*SupportedProductConfig) *RunJobFlowInput
SetNewSupportedProducts sets the NewSupportedProducts field's value.
func (*RunJobFlowInput) SetReleaseLabel ¶ added in v1.5.0
func (s *RunJobFlowInput) SetReleaseLabel(v string) *RunJobFlowInput
SetReleaseLabel sets the ReleaseLabel field's value.
func (*RunJobFlowInput) SetSecurityConfiguration ¶ added in v1.5.0
func (s *RunJobFlowInput) SetSecurityConfiguration(v string) *RunJobFlowInput
SetSecurityConfiguration sets the SecurityConfiguration field's value.
func (*RunJobFlowInput) SetServiceRole ¶ added in v1.5.0
func (s *RunJobFlowInput) SetServiceRole(v string) *RunJobFlowInput
SetServiceRole sets the ServiceRole field's value.
func (*RunJobFlowInput) SetSteps ¶ added in v1.5.0
func (s *RunJobFlowInput) SetSteps(v []*StepConfig) *RunJobFlowInput
SetSteps sets the Steps field's value.
func (*RunJobFlowInput) SetSupportedProducts ¶ added in v1.5.0
func (s *RunJobFlowInput) SetSupportedProducts(v []*string) *RunJobFlowInput
SetSupportedProducts sets the SupportedProducts field's value.
func (*RunJobFlowInput) SetTags ¶ added in v1.5.0
func (s *RunJobFlowInput) SetTags(v []*Tag) *RunJobFlowInput
SetTags sets the Tags field's value.
func (*RunJobFlowInput) SetVisibleToAllUsers ¶ added in v1.5.0
func (s *RunJobFlowInput) SetVisibleToAllUsers(v bool) *RunJobFlowInput
SetVisibleToAllUsers sets the VisibleToAllUsers field's value.
func (RunJobFlowInput) String ¶ added in v0.6.6
func (s RunJobFlowInput) String() string
String returns the string representation
func (*RunJobFlowInput) Validate ¶ added in v1.1.22
func (s *RunJobFlowInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type RunJobFlowOutput ¶
type RunJobFlowOutput struct { // An unique identifier for the job flow. JobFlowId *string `type:"string"` // contains filtered or unexported fields }
The result of the RunJobFlow operation.
func (RunJobFlowOutput) GoString ¶ added in v0.6.6
func (s RunJobFlowOutput) GoString() string
GoString returns the string representation
func (*RunJobFlowOutput) SetJobFlowId ¶ added in v1.5.0
func (s *RunJobFlowOutput) SetJobFlowId(v string) *RunJobFlowOutput
SetJobFlowId sets the JobFlowId field's value.
func (RunJobFlowOutput) String ¶ added in v0.6.6
func (s RunJobFlowOutput) String() string
String returns the string representation
type ScriptBootstrapActionConfig ¶
type ScriptBootstrapActionConfig struct { Args []*string `type:"list"` // Path is a required field Path *string `type:"string" required:"true"` // contains filtered or unexported fields }
func (ScriptBootstrapActionConfig) GoString ¶ added in v0.6.6
func (s ScriptBootstrapActionConfig) GoString() string
GoString returns the string representation
func (*ScriptBootstrapActionConfig) SetArgs ¶ added in v1.5.0
func (s *ScriptBootstrapActionConfig) SetArgs(v []*string) *ScriptBootstrapActionConfig
SetArgs sets the Args field's value.
func (*ScriptBootstrapActionConfig) SetPath ¶ added in v1.5.0
func (s *ScriptBootstrapActionConfig) SetPath(v string) *ScriptBootstrapActionConfig
SetPath sets the Path field's value.
func (ScriptBootstrapActionConfig) String ¶ added in v0.6.6
func (s ScriptBootstrapActionConfig) String() string
String returns the string representation
func (*ScriptBootstrapActionConfig) Validate ¶ added in v1.1.22
func (s *ScriptBootstrapActionConfig) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type SecurityConfigurationSummary ¶ added in v1.4.16
type SecurityConfigurationSummary struct { // The date and time the security configuration was created. CreationDateTime *time.Time `type:"timestamp" timestampFormat:"unix"` // The name of the security configuration. Name *string `type:"string"` // contains filtered or unexported fields }
The creation date and time, and name, of a security configuration.
func (SecurityConfigurationSummary) GoString ¶ added in v1.4.16
func (s SecurityConfigurationSummary) GoString() string
GoString returns the string representation
func (*SecurityConfigurationSummary) SetCreationDateTime ¶ added in v1.5.0
func (s *SecurityConfigurationSummary) SetCreationDateTime(v time.Time) *SecurityConfigurationSummary
SetCreationDateTime sets the CreationDateTime field's value.
func (*SecurityConfigurationSummary) SetName ¶ added in v1.5.0
func (s *SecurityConfigurationSummary) SetName(v string) *SecurityConfigurationSummary
SetName sets the Name field's value.
func (SecurityConfigurationSummary) String ¶ added in v1.4.16
func (s SecurityConfigurationSummary) String() string
String returns the string representation
type SetTerminationProtectionInput ¶
type SetTerminationProtectionInput struct { // A list of strings that uniquely identify the job flows to protect. This identifier // is returned by RunJobFlow and can also be obtained from DescribeJobFlows // . // // JobFlowIds is a required field JobFlowIds []*string `type:"list" required:"true"` // A Boolean that indicates whether to protect the job flow and prevent the // Amazon EC2 instances in the cluster from shutting down due to API calls, // user intervention, or job-flow error. // // TerminationProtected is a required field TerminationProtected *bool `type:"boolean" required:"true"` // contains filtered or unexported fields }
The input argument to the TerminationProtection operation.
func (SetTerminationProtectionInput) GoString ¶ added in v0.6.6
func (s SetTerminationProtectionInput) GoString() string
GoString returns the string representation
func (*SetTerminationProtectionInput) SetJobFlowIds ¶ added in v1.5.0
func (s *SetTerminationProtectionInput) SetJobFlowIds(v []*string) *SetTerminationProtectionInput
SetJobFlowIds sets the JobFlowIds field's value.
func (*SetTerminationProtectionInput) SetTerminationProtected ¶ added in v1.5.0
func (s *SetTerminationProtectionInput) SetTerminationProtected(v bool) *SetTerminationProtectionInput
SetTerminationProtected sets the TerminationProtected field's value.
func (SetTerminationProtectionInput) String ¶ added in v0.6.6
func (s SetTerminationProtectionInput) String() string
String returns the string representation
func (*SetTerminationProtectionInput) Validate ¶ added in v1.1.22
func (s *SetTerminationProtectionInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type SetTerminationProtectionOutput ¶
type SetTerminationProtectionOutput struct {
// contains filtered or unexported fields
}
func (SetTerminationProtectionOutput) GoString ¶ added in v0.6.6
func (s SetTerminationProtectionOutput) GoString() string
GoString returns the string representation
func (SetTerminationProtectionOutput) String ¶ added in v0.6.6
func (s SetTerminationProtectionOutput) String() string
String returns the string representation
type SetVisibleToAllUsersInput ¶
type SetVisibleToAllUsersInput struct { // Identifiers of the job flows to receive the new visibility setting. // // JobFlowIds is a required field JobFlowIds []*string `type:"list" required:"true"` // Whether the specified job flows are visible to all IAM users of the AWS account // associated with the job flow. If this value is set to True, all IAM users // of that AWS account can view and, if they have the proper IAM policy permissions // set, manage the job flows. If it is set to False, only the IAM user that // created a job flow can view and manage it. // // VisibleToAllUsers is a required field VisibleToAllUsers *bool `type:"boolean" required:"true"` // contains filtered or unexported fields }
The input to the SetVisibleToAllUsers action.
func (SetVisibleToAllUsersInput) GoString ¶ added in v0.6.6
func (s SetVisibleToAllUsersInput) GoString() string
GoString returns the string representation
func (*SetVisibleToAllUsersInput) SetJobFlowIds ¶ added in v1.5.0
func (s *SetVisibleToAllUsersInput) SetJobFlowIds(v []*string) *SetVisibleToAllUsersInput
SetJobFlowIds sets the JobFlowIds field's value.
func (*SetVisibleToAllUsersInput) SetVisibleToAllUsers ¶ added in v1.5.0
func (s *SetVisibleToAllUsersInput) SetVisibleToAllUsers(v bool) *SetVisibleToAllUsersInput
SetVisibleToAllUsers sets the VisibleToAllUsers field's value.
func (SetVisibleToAllUsersInput) String ¶ added in v0.6.6
func (s SetVisibleToAllUsersInput) String() string
String returns the string representation
func (*SetVisibleToAllUsersInput) Validate ¶ added in v1.1.22
func (s *SetVisibleToAllUsersInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type SetVisibleToAllUsersOutput ¶
type SetVisibleToAllUsersOutput struct {
// contains filtered or unexported fields
}
func (SetVisibleToAllUsersOutput) GoString ¶ added in v0.6.6
func (s SetVisibleToAllUsersOutput) GoString() string
GoString returns the string representation
func (SetVisibleToAllUsersOutput) String ¶ added in v0.6.6
func (s SetVisibleToAllUsersOutput) String() string
String returns the string representation
type ShrinkPolicy ¶ added in v1.1.22
type ShrinkPolicy struct { // The desired timeout for decommissioning an instance. Overrides the default // YARN decommissioning timeout. DecommissionTimeout *int64 `type:"integer"` // Custom policy for requesting termination protection or termination of specific // instances when shrinking an instance group. InstanceResizePolicy *InstanceResizePolicy `type:"structure"` // contains filtered or unexported fields }
Policy for customizing shrink operations. Allows configuration of decommissioning timeout and targeted instance shrinking.
func (ShrinkPolicy) GoString ¶ added in v1.1.22
func (s ShrinkPolicy) GoString() string
GoString returns the string representation
func (*ShrinkPolicy) SetDecommissionTimeout ¶ added in v1.5.0
func (s *ShrinkPolicy) SetDecommissionTimeout(v int64) *ShrinkPolicy
SetDecommissionTimeout sets the DecommissionTimeout field's value.
func (*ShrinkPolicy) SetInstanceResizePolicy ¶ added in v1.5.0
func (s *ShrinkPolicy) SetInstanceResizePolicy(v *InstanceResizePolicy) *ShrinkPolicy
SetInstanceResizePolicy sets the InstanceResizePolicy field's value.
func (ShrinkPolicy) String ¶ added in v1.1.22
func (s ShrinkPolicy) String() string
String returns the string representation
type Step ¶
type Step struct { // This specifies what action to take when the cluster step fails. Possible // values are TERMINATE_CLUSTER, CANCEL_AND_WAIT, and CONTINUE. ActionOnFailure *string `type:"string" enum:"ActionOnFailure"` // The Hadoop job configuration of the cluster step. Config *HadoopStepConfig `type:"structure"` // The identifier of the cluster step. Id *string `type:"string"` // The name of the cluster step. Name *string `type:"string"` // The current execution status details of the cluster step. Status *StepStatus `type:"structure"` // contains filtered or unexported fields }
This represents a step in a cluster.
func (*Step) SetActionOnFailure ¶ added in v1.5.0
SetActionOnFailure sets the ActionOnFailure field's value.
func (*Step) SetConfig ¶ added in v1.5.0
func (s *Step) SetConfig(v *HadoopStepConfig) *Step
SetConfig sets the Config field's value.
func (*Step) SetStatus ¶ added in v1.5.0
func (s *Step) SetStatus(v *StepStatus) *Step
SetStatus sets the Status field's value.
type StepConfig ¶
type StepConfig struct { // The action to take if the job flow step fails. ActionOnFailure *string `type:"string" enum:"ActionOnFailure"` // The JAR file used for the job flow step. // // HadoopJarStep is a required field HadoopJarStep *HadoopJarStepConfig `type:"structure" required:"true"` // The name of the job flow step. // // Name is a required field Name *string `type:"string" required:"true"` // contains filtered or unexported fields }
Specification of a job flow step.
func (StepConfig) GoString ¶ added in v0.6.6
func (s StepConfig) GoString() string
GoString returns the string representation
func (*StepConfig) SetActionOnFailure ¶ added in v1.5.0
func (s *StepConfig) SetActionOnFailure(v string) *StepConfig
SetActionOnFailure sets the ActionOnFailure field's value.
func (*StepConfig) SetHadoopJarStep ¶ added in v1.5.0
func (s *StepConfig) SetHadoopJarStep(v *HadoopJarStepConfig) *StepConfig
SetHadoopJarStep sets the HadoopJarStep field's value.
func (*StepConfig) SetName ¶ added in v1.5.0
func (s *StepConfig) SetName(v string) *StepConfig
SetName sets the Name field's value.
func (StepConfig) String ¶ added in v0.6.6
func (s StepConfig) String() string
String returns the string representation
func (*StepConfig) Validate ¶ added in v1.1.22
func (s *StepConfig) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type StepDetail ¶
type StepDetail struct { // The description of the step status. // // ExecutionStatusDetail is a required field ExecutionStatusDetail *StepExecutionStatusDetail `type:"structure" required:"true"` // The step configuration. // // StepConfig is a required field StepConfig *StepConfig `type:"structure" required:"true"` // contains filtered or unexported fields }
Combines the execution state and configuration of a step.
func (StepDetail) GoString ¶ added in v0.6.6
func (s StepDetail) GoString() string
GoString returns the string representation
func (*StepDetail) SetExecutionStatusDetail ¶ added in v1.5.0
func (s *StepDetail) SetExecutionStatusDetail(v *StepExecutionStatusDetail) *StepDetail
SetExecutionStatusDetail sets the ExecutionStatusDetail field's value.
func (*StepDetail) SetStepConfig ¶ added in v1.5.0
func (s *StepDetail) SetStepConfig(v *StepConfig) *StepDetail
SetStepConfig sets the StepConfig field's value.
func (StepDetail) String ¶ added in v0.6.6
func (s StepDetail) String() string
String returns the string representation
type StepExecutionStatusDetail ¶
type StepExecutionStatusDetail struct { // The creation date and time of the step. // // CreationDateTime is a required field CreationDateTime *time.Time `type:"timestamp" timestampFormat:"unix" required:"true"` // The completion date and time of the step. EndDateTime *time.Time `type:"timestamp" timestampFormat:"unix"` // A description of the step's current state. LastStateChangeReason *string `type:"string"` // The start date and time of the step. StartDateTime *time.Time `type:"timestamp" timestampFormat:"unix"` // The state of the job flow step. // // State is a required field State *string `type:"string" required:"true" enum:"StepExecutionState"` // contains filtered or unexported fields }
The execution state of a step.
func (StepExecutionStatusDetail) GoString ¶ added in v0.6.6
func (s StepExecutionStatusDetail) GoString() string
GoString returns the string representation
func (*StepExecutionStatusDetail) SetCreationDateTime ¶ added in v1.5.0
func (s *StepExecutionStatusDetail) SetCreationDateTime(v time.Time) *StepExecutionStatusDetail
SetCreationDateTime sets the CreationDateTime field's value.
func (*StepExecutionStatusDetail) SetEndDateTime ¶ added in v1.5.0
func (s *StepExecutionStatusDetail) SetEndDateTime(v time.Time) *StepExecutionStatusDetail
SetEndDateTime sets the EndDateTime field's value.
func (*StepExecutionStatusDetail) SetLastStateChangeReason ¶ added in v1.5.0
func (s *StepExecutionStatusDetail) SetLastStateChangeReason(v string) *StepExecutionStatusDetail
SetLastStateChangeReason sets the LastStateChangeReason field's value.
func (*StepExecutionStatusDetail) SetStartDateTime ¶ added in v1.5.0
func (s *StepExecutionStatusDetail) SetStartDateTime(v time.Time) *StepExecutionStatusDetail
SetStartDateTime sets the StartDateTime field's value.
func (*StepExecutionStatusDetail) SetState ¶ added in v1.5.0
func (s *StepExecutionStatusDetail) SetState(v string) *StepExecutionStatusDetail
SetState sets the State field's value.
func (StepExecutionStatusDetail) String ¶ added in v0.6.6
func (s StepExecutionStatusDetail) String() string
String returns the string representation
type StepStateChangeReason ¶
type StepStateChangeReason struct { // The programmable code for the state change reason. Note: Currently, the service // provides no code for the state change. Code *string `type:"string" enum:"StepStateChangeReasonCode"` // The descriptive message for the state change reason. Message *string `type:"string"` // contains filtered or unexported fields }
The details of the step state change reason.
func (StepStateChangeReason) GoString ¶ added in v0.6.6
func (s StepStateChangeReason) GoString() string
GoString returns the string representation
func (*StepStateChangeReason) SetCode ¶ added in v1.5.0
func (s *StepStateChangeReason) SetCode(v string) *StepStateChangeReason
SetCode sets the Code field's value.
func (*StepStateChangeReason) SetMessage ¶ added in v1.5.0
func (s *StepStateChangeReason) SetMessage(v string) *StepStateChangeReason
SetMessage sets the Message field's value.
func (StepStateChangeReason) String ¶ added in v0.6.6
func (s StepStateChangeReason) String() string
String returns the string representation
type StepStatus ¶
type StepStatus struct { // The details for the step failure including reason, message, and log file // path where the root cause was identified. FailureDetails *FailureDetails `type:"structure"` // The execution state of the cluster step. State *string `type:"string" enum:"StepState"` // The reason for the step execution status change. StateChangeReason *StepStateChangeReason `type:"structure"` // The timeline of the cluster step status over time. Timeline *StepTimeline `type:"structure"` // contains filtered or unexported fields }
The execution status details of the cluster step.
func (StepStatus) GoString ¶ added in v0.6.6
func (s StepStatus) GoString() string
GoString returns the string representation
func (*StepStatus) SetFailureDetails ¶ added in v1.5.0
func (s *StepStatus) SetFailureDetails(v *FailureDetails) *StepStatus
SetFailureDetails sets the FailureDetails field's value.
func (*StepStatus) SetState ¶ added in v1.5.0
func (s *StepStatus) SetState(v string) *StepStatus
SetState sets the State field's value.
func (*StepStatus) SetStateChangeReason ¶ added in v1.5.0
func (s *StepStatus) SetStateChangeReason(v *StepStateChangeReason) *StepStatus
SetStateChangeReason sets the StateChangeReason field's value.
func (*StepStatus) SetTimeline ¶ added in v1.5.0
func (s *StepStatus) SetTimeline(v *StepTimeline) *StepStatus
SetTimeline sets the Timeline field's value.
func (StepStatus) String ¶ added in v0.6.6
func (s StepStatus) String() string
String returns the string representation
type StepSummary ¶
type StepSummary struct { // This specifies what action to take when the cluster step fails. Possible // values are TERMINATE_CLUSTER, CANCEL_AND_WAIT, and CONTINUE. ActionOnFailure *string `type:"string" enum:"ActionOnFailure"` // The Hadoop job configuration of the cluster step. Config *HadoopStepConfig `type:"structure"` // The identifier of the cluster step. Id *string `type:"string"` // The name of the cluster step. Name *string `type:"string"` // The current execution status details of the cluster step. Status *StepStatus `type:"structure"` // contains filtered or unexported fields }
The summary of the cluster step.
func (StepSummary) GoString ¶ added in v0.6.6
func (s StepSummary) GoString() string
GoString returns the string representation
func (*StepSummary) SetActionOnFailure ¶ added in v1.5.0
func (s *StepSummary) SetActionOnFailure(v string) *StepSummary
SetActionOnFailure sets the ActionOnFailure field's value.
func (*StepSummary) SetConfig ¶ added in v1.5.0
func (s *StepSummary) SetConfig(v *HadoopStepConfig) *StepSummary
SetConfig sets the Config field's value.
func (*StepSummary) SetId ¶ added in v1.5.0
func (s *StepSummary) SetId(v string) *StepSummary
SetId sets the Id field's value.
func (*StepSummary) SetName ¶ added in v1.5.0
func (s *StepSummary) SetName(v string) *StepSummary
SetName sets the Name field's value.
func (*StepSummary) SetStatus ¶ added in v1.5.0
func (s *StepSummary) SetStatus(v *StepStatus) *StepSummary
SetStatus sets the Status field's value.
func (StepSummary) String ¶ added in v0.6.6
func (s StepSummary) String() string
String returns the string representation
type StepTimeline ¶
type StepTimeline struct { // The date and time when the cluster step was created. CreationDateTime *time.Time `type:"timestamp" timestampFormat:"unix"` // The date and time when the cluster step execution completed or failed. EndDateTime *time.Time `type:"timestamp" timestampFormat:"unix"` // The date and time when the cluster step execution started. StartDateTime *time.Time `type:"timestamp" timestampFormat:"unix"` // contains filtered or unexported fields }
The timeline of the cluster step lifecycle.
func (StepTimeline) GoString ¶ added in v0.6.6
func (s StepTimeline) GoString() string
GoString returns the string representation
func (*StepTimeline) SetCreationDateTime ¶ added in v1.5.0
func (s *StepTimeline) SetCreationDateTime(v time.Time) *StepTimeline
SetCreationDateTime sets the CreationDateTime field's value.
func (*StepTimeline) SetEndDateTime ¶ added in v1.5.0
func (s *StepTimeline) SetEndDateTime(v time.Time) *StepTimeline
SetEndDateTime sets the EndDateTime field's value.
func (*StepTimeline) SetStartDateTime ¶ added in v1.5.0
func (s *StepTimeline) SetStartDateTime(v time.Time) *StepTimeline
SetStartDateTime sets the StartDateTime field's value.
func (StepTimeline) String ¶ added in v0.6.6
func (s StepTimeline) String() string
String returns the string representation
type SupportedProductConfig ¶
type SupportedProductConfig struct { // The list of user-supplied arguments. Args []*string `type:"list"` // The name of the product configuration. Name *string `type:"string"` // contains filtered or unexported fields }
The list of supported product configurations which allow user-supplied arguments. EMR accepts these arguments and forwards them to the corresponding installation script as bootstrap action arguments.
func (SupportedProductConfig) GoString ¶ added in v0.6.6
func (s SupportedProductConfig) GoString() string
GoString returns the string representation
func (*SupportedProductConfig) SetArgs ¶ added in v1.5.0
func (s *SupportedProductConfig) SetArgs(v []*string) *SupportedProductConfig
SetArgs sets the Args field's value.
func (*SupportedProductConfig) SetName ¶ added in v1.5.0
func (s *SupportedProductConfig) SetName(v string) *SupportedProductConfig
SetName sets the Name field's value.
func (SupportedProductConfig) String ¶ added in v0.6.6
func (s SupportedProductConfig) String() string
String returns the string representation
type Tag ¶
type Tag struct { // A user-defined key, which is the minimum required information for a valid // tag. For more information, see Tagging Amazon EMR Resources (http://docs.aws.amazon.com/ElasticMapReduce/latest/DeveloperGuide/emr-plan-tags.html). Key *string `type:"string"` // A user-defined value, which is optional in a tag. For more information, see // Tagging Amazon EMR Resources (http://docs.aws.amazon.com/ElasticMapReduce/latest/DeveloperGuide/emr-plan-tags.html). Value *string `type:"string"` // contains filtered or unexported fields }
A key/value pair containing user-defined metadata that you can associate with an Amazon EMR resource. Tags make it easier to associate clusters in various ways, such as grouping clu\ sters to track your Amazon EMR resource allocation costs. For more information, see Tagging Amazon EMR Resources (http://docs.aws.amazon.com/ElasticMapReduce/latest/DeveloperGuide/emr-plan-tags.html).
type TerminateJobFlowsInput ¶
type TerminateJobFlowsInput struct { // A list of job flows to be shutdown. // // JobFlowIds is a required field JobFlowIds []*string `type:"list" required:"true"` // contains filtered or unexported fields }
Input to the TerminateJobFlows operation.
func (TerminateJobFlowsInput) GoString ¶ added in v0.6.6
func (s TerminateJobFlowsInput) GoString() string
GoString returns the string representation
func (*TerminateJobFlowsInput) SetJobFlowIds ¶ added in v1.5.0
func (s *TerminateJobFlowsInput) SetJobFlowIds(v []*string) *TerminateJobFlowsInput
SetJobFlowIds sets the JobFlowIds field's value.
func (TerminateJobFlowsInput) String ¶ added in v0.6.6
func (s TerminateJobFlowsInput) String() string
String returns the string representation
func (*TerminateJobFlowsInput) Validate ¶ added in v1.1.22
func (s *TerminateJobFlowsInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type TerminateJobFlowsOutput ¶
type TerminateJobFlowsOutput struct {
// contains filtered or unexported fields
}
func (TerminateJobFlowsOutput) GoString ¶ added in v0.6.6
func (s TerminateJobFlowsOutput) GoString() string
GoString returns the string representation
func (TerminateJobFlowsOutput) String ¶ added in v0.6.6
func (s TerminateJobFlowsOutput) String() string
String returns the string representation
type VolumeSpecification ¶ added in v1.1.6
type VolumeSpecification struct { // The number of I/O operations per second (IOPS) that the volume supports. Iops *int64 `type:"integer"` // The volume size, in gibibytes (GiB). This can be a number from 1 - 1024. // If the volume type is EBS-optimized, the minimum value is 10. // // SizeInGB is a required field SizeInGB *int64 `type:"integer" required:"true"` // The volume type. Volume types supported are gp2, io1, standard. // // VolumeType is a required field VolumeType *string `type:"string" required:"true"` // contains filtered or unexported fields }
EBS volume specifications such as volume type, IOPS, and size(GiB) that will be requested for the EBS volume attached to an EC2 instance in the cluster.
func (VolumeSpecification) GoString ¶ added in v1.1.6
func (s VolumeSpecification) GoString() string
GoString returns the string representation
func (*VolumeSpecification) SetIops ¶ added in v1.5.0
func (s *VolumeSpecification) SetIops(v int64) *VolumeSpecification
SetIops sets the Iops field's value.
func (*VolumeSpecification) SetSizeInGB ¶ added in v1.5.0
func (s *VolumeSpecification) SetSizeInGB(v int64) *VolumeSpecification
SetSizeInGB sets the SizeInGB field's value.
func (*VolumeSpecification) SetVolumeType ¶ added in v1.5.0
func (s *VolumeSpecification) SetVolumeType(v string) *VolumeSpecification
SetVolumeType sets the VolumeType field's value.
func (VolumeSpecification) String ¶ added in v1.1.6
func (s VolumeSpecification) String() string
String returns the string representation
func (*VolumeSpecification) Validate ¶ added in v1.1.22
func (s *VolumeSpecification) Validate() error
Validate inspects the fields of the type to determine if they are valid.