aws-sdk-go: github.com/aws/aws-sdk-go/service/emr Index | Files | Directories

package emr

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

Package emr provides the client and types for making API requests to 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.

See https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31 for more information on this service.

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

Using the Client

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

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

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

See the Amazon Elastic MapReduce client EMR for more information on creating client for this service. https://docs.aws.amazon.com/sdk-for-go/api/service/emr/#New

Index

Package Files

api.go doc.go errors.go service.go waiters.go

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 (
    // AdjustmentTypeChangeInCapacity is a AdjustmentType enum value
    AdjustmentTypeChangeInCapacity = "CHANGE_IN_CAPACITY"

    // AdjustmentTypePercentChangeInCapacity is a AdjustmentType enum value
    AdjustmentTypePercentChangeInCapacity = "PERCENT_CHANGE_IN_CAPACITY"

    // AdjustmentTypeExactCapacity is a AdjustmentType enum value
    AdjustmentTypeExactCapacity = "EXACT_CAPACITY"
)
const (
    // AutoScalingPolicyStatePending is a AutoScalingPolicyState enum value
    AutoScalingPolicyStatePending = "PENDING"

    // AutoScalingPolicyStateAttaching is a AutoScalingPolicyState enum value
    AutoScalingPolicyStateAttaching = "ATTACHING"

    // AutoScalingPolicyStateAttached is a AutoScalingPolicyState enum value
    AutoScalingPolicyStateAttached = "ATTACHED"

    // AutoScalingPolicyStateDetaching is a AutoScalingPolicyState enum value
    AutoScalingPolicyStateDetaching = "DETACHING"

    // AutoScalingPolicyStateDetached is a AutoScalingPolicyState enum value
    AutoScalingPolicyStateDetached = "DETACHED"

    // AutoScalingPolicyStateFailed is a AutoScalingPolicyState enum value
    AutoScalingPolicyStateFailed = "FAILED"
)
const (
    // AutoScalingPolicyStateChangeReasonCodeUserRequest is a AutoScalingPolicyStateChangeReasonCode enum value
    AutoScalingPolicyStateChangeReasonCodeUserRequest = "USER_REQUEST"

    // AutoScalingPolicyStateChangeReasonCodeProvisionFailure is a AutoScalingPolicyStateChangeReasonCode enum value
    AutoScalingPolicyStateChangeReasonCodeProvisionFailure = "PROVISION_FAILURE"

    // AutoScalingPolicyStateChangeReasonCodeCleanupFailure is a AutoScalingPolicyStateChangeReasonCode enum value
    AutoScalingPolicyStateChangeReasonCodeCleanupFailure = "CLEANUP_FAILURE"
)
const (
    // CancelStepsRequestStatusSubmitted is a CancelStepsRequestStatus enum value
    CancelStepsRequestStatusSubmitted = "SUBMITTED"

    // CancelStepsRequestStatusFailed is a CancelStepsRequestStatus enum value
    CancelStepsRequestStatusFailed = "FAILED"
)
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"

    // ClusterStateChangeReasonCodeInstanceFleetTimeout is a ClusterStateChangeReasonCode enum value
    ClusterStateChangeReasonCodeInstanceFleetTimeout = "INSTANCE_FLEET_TIMEOUT"

    // 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 (
    // ComparisonOperatorGreaterThanOrEqual is a ComparisonOperator enum value
    ComparisonOperatorGreaterThanOrEqual = "GREATER_THAN_OR_EQUAL"

    // ComparisonOperatorGreaterThan is a ComparisonOperator enum value
    ComparisonOperatorGreaterThan = "GREATER_THAN"

    // ComparisonOperatorLessThan is a ComparisonOperator enum value
    ComparisonOperatorLessThan = "LESS_THAN"

    // ComparisonOperatorLessThanOrEqual is a ComparisonOperator enum value
    ComparisonOperatorLessThanOrEqual = "LESS_THAN_OR_EQUAL"
)
const (
    // InstanceCollectionTypeInstanceFleet is a InstanceCollectionType enum value
    InstanceCollectionTypeInstanceFleet = "INSTANCE_FLEET"

    // InstanceCollectionTypeInstanceGroup is a InstanceCollectionType enum value
    InstanceCollectionTypeInstanceGroup = "INSTANCE_GROUP"
)
const (
    // InstanceFleetStateProvisioning is a InstanceFleetState enum value
    InstanceFleetStateProvisioning = "PROVISIONING"

    // InstanceFleetStateBootstrapping is a InstanceFleetState enum value
    InstanceFleetStateBootstrapping = "BOOTSTRAPPING"

    // InstanceFleetStateRunning is a InstanceFleetState enum value
    InstanceFleetStateRunning = "RUNNING"

    // InstanceFleetStateResizing is a InstanceFleetState enum value
    InstanceFleetStateResizing = "RESIZING"

    // InstanceFleetStateSuspended is a InstanceFleetState enum value
    InstanceFleetStateSuspended = "SUSPENDED"

    // InstanceFleetStateTerminating is a InstanceFleetState enum value
    InstanceFleetStateTerminating = "TERMINATING"

    // InstanceFleetStateTerminated is a InstanceFleetState enum value
    InstanceFleetStateTerminated = "TERMINATED"
)
const (
    // InstanceFleetStateChangeReasonCodeInternalError is a InstanceFleetStateChangeReasonCode enum value
    InstanceFleetStateChangeReasonCodeInternalError = "INTERNAL_ERROR"

    // InstanceFleetStateChangeReasonCodeValidationError is a InstanceFleetStateChangeReasonCode enum value
    InstanceFleetStateChangeReasonCodeValidationError = "VALIDATION_ERROR"

    // InstanceFleetStateChangeReasonCodeInstanceFailure is a InstanceFleetStateChangeReasonCode enum value
    InstanceFleetStateChangeReasonCodeInstanceFailure = "INSTANCE_FAILURE"

    // InstanceFleetStateChangeReasonCodeClusterTerminated is a InstanceFleetStateChangeReasonCode enum value
    InstanceFleetStateChangeReasonCodeClusterTerminated = "CLUSTER_TERMINATED"
)
const (
    // InstanceFleetTypeMaster is a InstanceFleetType enum value
    InstanceFleetTypeMaster = "MASTER"

    // InstanceFleetTypeCore is a InstanceFleetType enum value
    InstanceFleetTypeCore = "CORE"

    // InstanceFleetTypeTask is a InstanceFleetType enum value
    InstanceFleetTypeTask = "TASK"
)
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"

    // InstanceGroupStateReconfiguring is a InstanceGroupState enum value
    InstanceGroupStateReconfiguring = "RECONFIGURING"

    // 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 (
    // RepoUpgradeOnBootSecurity is a RepoUpgradeOnBoot enum value
    RepoUpgradeOnBootSecurity = "SECURITY"

    // RepoUpgradeOnBootNone is a RepoUpgradeOnBoot enum value
    RepoUpgradeOnBootNone = "NONE"
)
const (
    // ScaleDownBehaviorTerminateAtInstanceHour is a ScaleDownBehavior enum value
    ScaleDownBehaviorTerminateAtInstanceHour = "TERMINATE_AT_INSTANCE_HOUR"

    // ScaleDownBehaviorTerminateAtTaskCompletion is a ScaleDownBehavior enum value
    ScaleDownBehaviorTerminateAtTaskCompletion = "TERMINATE_AT_TASK_COMPLETION"
)
const (
    // SpotProvisioningTimeoutActionSwitchToOnDemand is a SpotProvisioningTimeoutAction enum value
    SpotProvisioningTimeoutActionSwitchToOnDemand = "SWITCH_TO_ON_DEMAND"

    // SpotProvisioningTimeoutActionTerminateCluster is a SpotProvisioningTimeoutAction enum value
    SpotProvisioningTimeoutActionTerminateCluster = "TERMINATE_CLUSTER"
)
const (
    // StatisticSampleCount is a Statistic enum value
    StatisticSampleCount = "SAMPLE_COUNT"

    // StatisticAverage is a Statistic enum value
    StatisticAverage = "AVERAGE"

    // StatisticSum is a Statistic enum value
    StatisticSum = "SUM"

    // StatisticMinimum is a Statistic enum value
    StatisticMinimum = "MINIMUM"

    // StatisticMaximum is a Statistic enum value
    StatisticMaximum = "MAXIMUM"
)
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"

    // StepStateCancelPending is a StepState enum value
    StepStateCancelPending = "CANCEL_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 (
    // UnitNone is a Unit enum value
    UnitNone = "NONE"

    // UnitSeconds is a Unit enum value
    UnitSeconds = "SECONDS"

    // UnitMicroSeconds is a Unit enum value
    UnitMicroSeconds = "MICRO_SECONDS"

    // UnitMilliSeconds is a Unit enum value
    UnitMilliSeconds = "MILLI_SECONDS"

    // UnitBytes is a Unit enum value
    UnitBytes = "BYTES"

    // UnitKiloBytes is a Unit enum value
    UnitKiloBytes = "KILO_BYTES"

    // UnitMegaBytes is a Unit enum value
    UnitMegaBytes = "MEGA_BYTES"

    // UnitGigaBytes is a Unit enum value
    UnitGigaBytes = "GIGA_BYTES"

    // UnitTeraBytes is a Unit enum value
    UnitTeraBytes = "TERA_BYTES"

    // UnitBits is a Unit enum value
    UnitBits = "BITS"

    // UnitKiloBits is a Unit enum value
    UnitKiloBits = "KILO_BITS"

    // UnitMegaBits is a Unit enum value
    UnitMegaBits = "MEGA_BITS"

    // UnitGigaBits is a Unit enum value
    UnitGigaBits = "GIGA_BITS"

    // UnitTeraBits is a Unit enum value
    UnitTeraBits = "TERA_BITS"

    // UnitPercent is a Unit enum value
    UnitPercent = "PERCENT"

    // UnitCount is a Unit enum value
    UnitCount = "COUNT"

    // UnitBytesPerSecond is a Unit enum value
    UnitBytesPerSecond = "BYTES_PER_SECOND"

    // UnitKiloBytesPerSecond is a Unit enum value
    UnitKiloBytesPerSecond = "KILO_BYTES_PER_SECOND"

    // UnitMegaBytesPerSecond is a Unit enum value
    UnitMegaBytesPerSecond = "MEGA_BYTES_PER_SECOND"

    // UnitGigaBytesPerSecond is a Unit enum value
    UnitGigaBytesPerSecond = "GIGA_BYTES_PER_SECOND"

    // UnitTeraBytesPerSecond is a Unit enum value
    UnitTeraBytesPerSecond = "TERA_BYTES_PER_SECOND"

    // UnitBitsPerSecond is a Unit enum value
    UnitBitsPerSecond = "BITS_PER_SECOND"

    // UnitKiloBitsPerSecond is a Unit enum value
    UnitKiloBitsPerSecond = "KILO_BITS_PER_SECOND"

    // UnitMegaBitsPerSecond is a Unit enum value
    UnitMegaBitsPerSecond = "MEGA_BITS_PER_SECOND"

    // UnitGigaBitsPerSecond is a Unit enum value
    UnitGigaBitsPerSecond = "GIGA_BITS_PER_SECOND"

    // UnitTeraBitsPerSecond is a Unit enum value
    UnitTeraBitsPerSecond = "TERA_BITS_PER_SECOND"

    // UnitCountPerSecond is a Unit enum value
    UnitCountPerSecond = "COUNT_PER_SECOND"
)
const (

    // ErrCodeInternalServerError for service response error code
    // "InternalServerError".
    //
    // Indicates that an error occurred while processing the request and that the
    // request was not completed.
    ErrCodeInternalServerError = "InternalServerError"

    // ErrCodeInternalServerException for service response error code
    // "InternalServerException".
    //
    // This exception occurs when there is an internal failure in the EMR service.
    ErrCodeInternalServerException = "InternalServerException"

    // ErrCodeInvalidRequestException for service response error code
    // "InvalidRequestException".
    //
    // This exception occurs when there is something wrong with user input.
    ErrCodeInvalidRequestException = "InvalidRequestException"
)
const (
    ServiceName = "elasticmapreduce" // Name of service.
    EndpointsID = ServiceName        // ID to lookup a service endpoint with.
    ServiceID   = "EMR"              // ServiceID is a unique identifer of a specific service.
)

Service information constants

const (
    // StepStateChangeReasonCodeNone is a StepStateChangeReasonCode enum value
    StepStateChangeReasonCodeNone = "NONE"
)

type AddInstanceFleetInput Uses

type AddInstanceFleetInput struct {

    // The unique identifier of the cluster.
    //
    // ClusterId is a required field
    ClusterId *string `type:"string" required:"true"`

    // Specifies the configuration of the instance fleet.
    //
    // InstanceFleet is a required field
    InstanceFleet *InstanceFleetConfig `type:"structure" required:"true"`
    // contains filtered or unexported fields
}

func (AddInstanceFleetInput) GoString Uses

func (s AddInstanceFleetInput) GoString() string

GoString returns the string representation

func (*AddInstanceFleetInput) SetClusterId Uses

func (s *AddInstanceFleetInput) SetClusterId(v string) *AddInstanceFleetInput

SetClusterId sets the ClusterId field's value.

func (*AddInstanceFleetInput) SetInstanceFleet Uses

func (s *AddInstanceFleetInput) SetInstanceFleet(v *InstanceFleetConfig) *AddInstanceFleetInput

SetInstanceFleet sets the InstanceFleet field's value.

func (AddInstanceFleetInput) String Uses

func (s AddInstanceFleetInput) String() string

String returns the string representation

func (*AddInstanceFleetInput) Validate Uses

func (s *AddInstanceFleetInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type AddInstanceFleetOutput Uses

type AddInstanceFleetOutput struct {

    // The unique identifier of the cluster.
    ClusterId *string `type:"string"`

    // The unique identifier of the instance fleet.
    InstanceFleetId *string `type:"string"`
    // contains filtered or unexported fields
}

func (AddInstanceFleetOutput) GoString Uses

func (s AddInstanceFleetOutput) GoString() string

GoString returns the string representation

func (*AddInstanceFleetOutput) SetClusterId Uses

func (s *AddInstanceFleetOutput) SetClusterId(v string) *AddInstanceFleetOutput

SetClusterId sets the ClusterId field's value.

func (*AddInstanceFleetOutput) SetInstanceFleetId Uses

func (s *AddInstanceFleetOutput) SetInstanceFleetId(v string) *AddInstanceFleetOutput

SetInstanceFleetId sets the InstanceFleetId field's value.

func (AddInstanceFleetOutput) String Uses

func (s AddInstanceFleetOutput) String() string

String returns the string representation

type AddInstanceGroupsInput Uses

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 Uses

func (s AddInstanceGroupsInput) GoString() string

GoString returns the string representation

func (*AddInstanceGroupsInput) SetInstanceGroups Uses

func (s *AddInstanceGroupsInput) SetInstanceGroups(v []*InstanceGroupConfig) *AddInstanceGroupsInput

SetInstanceGroups sets the InstanceGroups field's value.

func (*AddInstanceGroupsInput) SetJobFlowId Uses

func (s *AddInstanceGroupsInput) SetJobFlowId(v string) *AddInstanceGroupsInput

SetJobFlowId sets the JobFlowId field's value.

func (AddInstanceGroupsInput) String Uses

func (s AddInstanceGroupsInput) String() string

String returns the string representation

func (*AddInstanceGroupsInput) Validate Uses

func (s *AddInstanceGroupsInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type AddInstanceGroupsOutput Uses

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 Uses

func (s AddInstanceGroupsOutput) GoString() string

GoString returns the string representation

func (*AddInstanceGroupsOutput) SetInstanceGroupIds Uses

func (s *AddInstanceGroupsOutput) SetInstanceGroupIds(v []*string) *AddInstanceGroupsOutput

SetInstanceGroupIds sets the InstanceGroupIds field's value.

func (*AddInstanceGroupsOutput) SetJobFlowId Uses

func (s *AddInstanceGroupsOutput) SetJobFlowId(v string) *AddInstanceGroupsOutput

SetJobFlowId sets the JobFlowId field's value.

func (AddInstanceGroupsOutput) String Uses

func (s AddInstanceGroupsOutput) String() string

String returns the string representation

type AddJobFlowStepsInput Uses

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 Uses

func (s AddJobFlowStepsInput) GoString() string

GoString returns the string representation

func (*AddJobFlowStepsInput) SetJobFlowId Uses

func (s *AddJobFlowStepsInput) SetJobFlowId(v string) *AddJobFlowStepsInput

SetJobFlowId sets the JobFlowId field's value.

func (*AddJobFlowStepsInput) SetSteps Uses

func (s *AddJobFlowStepsInput) SetSteps(v []*StepConfig) *AddJobFlowStepsInput

SetSteps sets the Steps field's value.

func (AddJobFlowStepsInput) String Uses

func (s AddJobFlowStepsInput) String() string

String returns the string representation

func (*AddJobFlowStepsInput) Validate Uses

func (s *AddJobFlowStepsInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type AddJobFlowStepsOutput Uses

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 Uses

func (s AddJobFlowStepsOutput) GoString() string

GoString returns the string representation

func (*AddJobFlowStepsOutput) SetStepIds Uses

func (s *AddJobFlowStepsOutput) SetStepIds(v []*string) *AddJobFlowStepsOutput

SetStepIds sets the StepIds field's value.

func (AddJobFlowStepsOutput) String Uses

func (s AddJobFlowStepsOutput) String() string

String returns the string representation

type AddTagsInput Uses

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 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 Uses

func (s AddTagsInput) GoString() string

GoString returns the string representation

func (*AddTagsInput) SetResourceId Uses

func (s *AddTagsInput) SetResourceId(v string) *AddTagsInput

SetResourceId sets the ResourceId field's value.

func (*AddTagsInput) SetTags Uses

func (s *AddTagsInput) SetTags(v []*Tag) *AddTagsInput

SetTags sets the Tags field's value.

func (AddTagsInput) String Uses

func (s AddTagsInput) String() string

String returns the string representation

func (*AddTagsInput) Validate Uses

func (s *AddTagsInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type AddTagsOutput Uses

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

This output indicates the result of adding tags to a resource.

func (AddTagsOutput) GoString Uses

func (s AddTagsOutput) GoString() string

GoString returns the string representation

func (AddTagsOutput) String Uses

func (s AddTagsOutput) String() string

String returns the string representation

type Application Uses

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
}

With Amazon EMR release version 4.0 and later, the only accepted parameter is the application name. To pass arguments to applications, you use configuration classifications specified using configuration JSON objects. For more information, see Configuring Applications (https://docs.aws.amazon.com/emr/latest/ReleaseGuide/emr-configure-apps.html).

With earlier Amazon EMR releases, the 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.

func (Application) GoString Uses

func (s Application) GoString() string

GoString returns the string representation

func (*Application) SetAdditionalInfo Uses

func (s *Application) SetAdditionalInfo(v map[string]*string) *Application

SetAdditionalInfo sets the AdditionalInfo field's value.

func (*Application) SetArgs Uses

func (s *Application) SetArgs(v []*string) *Application

SetArgs sets the Args field's value.

func (*Application) SetName Uses

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

SetName sets the Name field's value.

func (*Application) SetVersion Uses

func (s *Application) SetVersion(v string) *Application

SetVersion sets the Version field's value.

func (Application) String Uses

func (s Application) String() string

String returns the string representation

type AutoScalingPolicy Uses

type AutoScalingPolicy struct {

    // The upper and lower EC2 instance limits for an automatic scaling policy.
    // Automatic scaling activity will not cause an instance group to grow above
    // or below these limits.
    //
    // Constraints is a required field
    Constraints *ScalingConstraints `type:"structure" required:"true"`

    // The scale-in and scale-out rules that comprise the automatic scaling policy.
    //
    // Rules is a required field
    Rules []*ScalingRule `type:"list" required:"true"`
    // contains filtered or unexported fields
}

An automatic scaling policy for a core instance group or task instance group in an Amazon EMR cluster. An automatic scaling policy defines how an instance group dynamically adds and terminates EC2 instances in response to the value of a CloudWatch metric. See PutAutoScalingPolicy.

func (AutoScalingPolicy) GoString Uses

func (s AutoScalingPolicy) GoString() string

GoString returns the string representation

func (*AutoScalingPolicy) SetConstraints Uses

func (s *AutoScalingPolicy) SetConstraints(v *ScalingConstraints) *AutoScalingPolicy

SetConstraints sets the Constraints field's value.

func (*AutoScalingPolicy) SetRules Uses

func (s *AutoScalingPolicy) SetRules(v []*ScalingRule) *AutoScalingPolicy

SetRules sets the Rules field's value.

func (AutoScalingPolicy) String Uses

func (s AutoScalingPolicy) String() string

String returns the string representation

func (*AutoScalingPolicy) Validate Uses

func (s *AutoScalingPolicy) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type AutoScalingPolicyDescription Uses

type AutoScalingPolicyDescription struct {

    // The upper and lower EC2 instance limits for an automatic scaling policy.
    // Automatic scaling activity will not cause an instance group to grow above
    // or below these limits.
    Constraints *ScalingConstraints `type:"structure"`

    // The scale-in and scale-out rules that comprise the automatic scaling policy.
    Rules []*ScalingRule `type:"list"`

    // The status of an automatic scaling policy.
    Status *AutoScalingPolicyStatus `type:"structure"`
    // contains filtered or unexported fields
}

An automatic scaling policy for a core instance group or task instance group in an Amazon EMR cluster. The automatic scaling policy defines how an instance group dynamically adds and terminates EC2 instances in response to the value of a CloudWatch metric. See PutAutoScalingPolicy.

func (AutoScalingPolicyDescription) GoString Uses

func (s AutoScalingPolicyDescription) GoString() string

GoString returns the string representation

func (*AutoScalingPolicyDescription) SetConstraints Uses

func (s *AutoScalingPolicyDescription) SetConstraints(v *ScalingConstraints) *AutoScalingPolicyDescription

SetConstraints sets the Constraints field's value.

func (*AutoScalingPolicyDescription) SetRules Uses

func (s *AutoScalingPolicyDescription) SetRules(v []*ScalingRule) *AutoScalingPolicyDescription

SetRules sets the Rules field's value.

func (*AutoScalingPolicyDescription) SetStatus Uses

func (s *AutoScalingPolicyDescription) SetStatus(v *AutoScalingPolicyStatus) *AutoScalingPolicyDescription

SetStatus sets the Status field's value.

func (AutoScalingPolicyDescription) String Uses

func (s AutoScalingPolicyDescription) String() string

String returns the string representation

type AutoScalingPolicyStateChangeReason Uses

type AutoScalingPolicyStateChangeReason struct {

    // The code indicating the reason for the change in status.USER_REQUEST indicates
    // that the scaling policy status was changed by a user. PROVISION_FAILURE indicates
    // that the status change was because the policy failed to provision. CLEANUP_FAILURE
    // indicates an error.
    Code *string `type:"string" enum:"AutoScalingPolicyStateChangeReasonCode"`

    // A friendly, more verbose message that accompanies an automatic scaling policy
    // state change.
    Message *string `type:"string"`
    // contains filtered or unexported fields
}

The reason for an AutoScalingPolicyStatus change.

func (AutoScalingPolicyStateChangeReason) GoString Uses

func (s AutoScalingPolicyStateChangeReason) GoString() string

GoString returns the string representation

func (*AutoScalingPolicyStateChangeReason) SetCode Uses

func (s *AutoScalingPolicyStateChangeReason) SetCode(v string) *AutoScalingPolicyStateChangeReason

SetCode sets the Code field's value.

func (*AutoScalingPolicyStateChangeReason) SetMessage Uses

func (s *AutoScalingPolicyStateChangeReason) SetMessage(v string) *AutoScalingPolicyStateChangeReason

SetMessage sets the Message field's value.

func (AutoScalingPolicyStateChangeReason) String Uses

func (s AutoScalingPolicyStateChangeReason) String() string

String returns the string representation

type AutoScalingPolicyStatus Uses

type AutoScalingPolicyStatus struct {

    // Indicates the status of the automatic scaling policy.
    State *string `type:"string" enum:"AutoScalingPolicyState"`

    // The reason for a change in status.
    StateChangeReason *AutoScalingPolicyStateChangeReason `type:"structure"`
    // contains filtered or unexported fields
}

The status of an automatic scaling policy.

func (AutoScalingPolicyStatus) GoString Uses

func (s AutoScalingPolicyStatus) GoString() string

GoString returns the string representation

func (*AutoScalingPolicyStatus) SetState Uses

func (s *AutoScalingPolicyStatus) SetState(v string) *AutoScalingPolicyStatus

SetState sets the State field's value.

func (*AutoScalingPolicyStatus) SetStateChangeReason Uses

func (s *AutoScalingPolicyStatus) SetStateChangeReason(v *AutoScalingPolicyStateChangeReason) *AutoScalingPolicyStatus

SetStateChangeReason sets the StateChangeReason field's value.

func (AutoScalingPolicyStatus) String Uses

func (s AutoScalingPolicyStatus) String() string

String returns the string representation

type BootstrapActionConfig Uses

type BootstrapActionConfig struct {

    // The name of the bootstrap action.
    //
    // Name is a required field
    Name *string `type:"string" required:"true"`

    // The script run by the bootstrap action.
    //
    // ScriptBootstrapAction is a required field
    ScriptBootstrapAction *ScriptBootstrapActionConfig `type:"structure" required:"true"`
    // contains filtered or unexported fields
}

Configuration of a bootstrap action.

func (BootstrapActionConfig) GoString Uses

func (s BootstrapActionConfig) GoString() string

GoString returns the string representation

func (*BootstrapActionConfig) SetName Uses

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

SetName sets the Name field's value.

func (*BootstrapActionConfig) SetScriptBootstrapAction Uses

func (s *BootstrapActionConfig) SetScriptBootstrapAction(v *ScriptBootstrapActionConfig) *BootstrapActionConfig

SetScriptBootstrapAction sets the ScriptBootstrapAction field's value.

func (BootstrapActionConfig) String Uses

func (s BootstrapActionConfig) String() string

String returns the string representation

func (*BootstrapActionConfig) Validate Uses

func (s *BootstrapActionConfig) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type BootstrapActionDetail Uses

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 cluster (job flow).

func (BootstrapActionDetail) GoString Uses

func (s BootstrapActionDetail) GoString() string

GoString returns the string representation

func (*BootstrapActionDetail) SetBootstrapActionConfig Uses

func (s *BootstrapActionDetail) SetBootstrapActionConfig(v *BootstrapActionConfig) *BootstrapActionDetail

SetBootstrapActionConfig sets the BootstrapActionConfig field's value.

func (BootstrapActionDetail) String Uses

func (s BootstrapActionDetail) String() string

String returns the string representation

type CancelStepsInfo Uses

type CancelStepsInfo struct {

    // The reason for the failure if the CancelSteps request fails.
    Reason *string `type:"string"`

    // The status of a CancelSteps Request. The value may be SUBMITTED or FAILED.
    Status *string `type:"string" enum:"CancelStepsRequestStatus"`

    // The encrypted StepId of a step.
    StepId *string `type:"string"`
    // contains filtered or unexported fields
}

Specification of the status of a CancelSteps request. Available only in Amazon EMR version 4.8.0 and later, excluding version 5.0.0.

func (CancelStepsInfo) GoString Uses

func (s CancelStepsInfo) GoString() string

GoString returns the string representation

func (*CancelStepsInfo) SetReason Uses

func (s *CancelStepsInfo) SetReason(v string) *CancelStepsInfo

SetReason sets the Reason field's value.

func (*CancelStepsInfo) SetStatus Uses

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

SetStatus sets the Status field's value.

func (*CancelStepsInfo) SetStepId Uses

func (s *CancelStepsInfo) SetStepId(v string) *CancelStepsInfo

SetStepId sets the StepId field's value.

func (CancelStepsInfo) String Uses

func (s CancelStepsInfo) String() string

String returns the string representation

type CancelStepsInput Uses

type CancelStepsInput struct {

    // The ClusterID for which specified steps will be canceled. Use RunJobFlow
    // and ListClusters to get ClusterIDs.
    ClusterId *string `type:"string"`

    // The list of StepIDs to cancel. Use ListSteps to get steps and their states
    // for the specified cluster.
    StepIds []*string `type:"list"`
    // contains filtered or unexported fields
}

The input argument to the CancelSteps operation.

func (CancelStepsInput) GoString Uses

func (s CancelStepsInput) GoString() string

GoString returns the string representation

func (*CancelStepsInput) SetClusterId Uses

func (s *CancelStepsInput) SetClusterId(v string) *CancelStepsInput

SetClusterId sets the ClusterId field's value.

func (*CancelStepsInput) SetStepIds Uses

func (s *CancelStepsInput) SetStepIds(v []*string) *CancelStepsInput

SetStepIds sets the StepIds field's value.

func (CancelStepsInput) String Uses

func (s CancelStepsInput) String() string

String returns the string representation

type CancelStepsOutput Uses

type CancelStepsOutput struct {

    // A list of CancelStepsInfo, which shows the status of specified cancel requests
    // for each StepID specified.
    CancelStepsInfoList []*CancelStepsInfo `type:"list"`
    // contains filtered or unexported fields
}

The output for the CancelSteps operation.

func (CancelStepsOutput) GoString Uses

func (s CancelStepsOutput) GoString() string

GoString returns the string representation

func (*CancelStepsOutput) SetCancelStepsInfoList Uses

func (s *CancelStepsOutput) SetCancelStepsInfoList(v []*CancelStepsInfo) *CancelStepsOutput

SetCancelStepsInfoList sets the CancelStepsInfoList field's value.

func (CancelStepsOutput) String Uses

func (s CancelStepsOutput) String() string

String returns the string representation

type CloudWatchAlarmDefinition Uses

type CloudWatchAlarmDefinition struct {

    // Determines how the metric specified by MetricName is compared to the value
    // specified by Threshold.
    //
    // ComparisonOperator is a required field
    ComparisonOperator *string `type:"string" required:"true" enum:"ComparisonOperator"`

    // A CloudWatch metric dimension.
    Dimensions []*MetricDimension `type:"list"`

    // The number of periods, expressed in seconds using Period, during which the
    // alarm condition must exist before the alarm triggers automatic scaling activity.
    // The default value is 1.
    EvaluationPeriods *int64 `type:"integer"`

    // The name of the CloudWatch metric that is watched to determine an alarm condition.
    //
    // MetricName is a required field
    MetricName *string `type:"string" required:"true"`

    // The namespace for the CloudWatch metric. The default is AWS/ElasticMapReduce.
    Namespace *string `type:"string"`

    // The period, in seconds, over which the statistic is applied. EMR CloudWatch
    // metrics are emitted every five minutes (300 seconds), so if an EMR CloudWatch
    // metric is specified, specify 300.
    //
    // Period is a required field
    Period *int64 `type:"integer" required:"true"`

    // The statistic to apply to the metric associated with the alarm. The default
    // is AVERAGE.
    Statistic *string `type:"string" enum:"Statistic"`

    // The value against which the specified statistic is compared.
    //
    // Threshold is a required field
    Threshold *float64 `type:"double" required:"true"`

    // The unit of measure associated with the CloudWatch metric being watched.
    // The value specified for Unit must correspond to the units specified in the
    // CloudWatch metric.
    Unit *string `type:"string" enum:"Unit"`
    // contains filtered or unexported fields
}

The definition of a CloudWatch metric alarm, which determines when an automatic scaling activity is triggered. When the defined alarm conditions are satisfied, scaling activity begins.

func (CloudWatchAlarmDefinition) GoString Uses

func (s CloudWatchAlarmDefinition) GoString() string

GoString returns the string representation

func (*CloudWatchAlarmDefinition) SetComparisonOperator Uses

func (s *CloudWatchAlarmDefinition) SetComparisonOperator(v string) *CloudWatchAlarmDefinition

SetComparisonOperator sets the ComparisonOperator field's value.

func (*CloudWatchAlarmDefinition) SetDimensions Uses

func (s *CloudWatchAlarmDefinition) SetDimensions(v []*MetricDimension) *CloudWatchAlarmDefinition

SetDimensions sets the Dimensions field's value.

func (*CloudWatchAlarmDefinition) SetEvaluationPeriods Uses

func (s *CloudWatchAlarmDefinition) SetEvaluationPeriods(v int64) *CloudWatchAlarmDefinition

SetEvaluationPeriods sets the EvaluationPeriods field's value.

func (*CloudWatchAlarmDefinition) SetMetricName Uses

func (s *CloudWatchAlarmDefinition) SetMetricName(v string) *CloudWatchAlarmDefinition

SetMetricName sets the MetricName field's value.

func (*CloudWatchAlarmDefinition) SetNamespace Uses

func (s *CloudWatchAlarmDefinition) SetNamespace(v string) *CloudWatchAlarmDefinition

SetNamespace sets the Namespace field's value.

func (*CloudWatchAlarmDefinition) SetPeriod Uses

func (s *CloudWatchAlarmDefinition) SetPeriod(v int64) *CloudWatchAlarmDefinition

SetPeriod sets the Period field's value.

func (*CloudWatchAlarmDefinition) SetStatistic Uses

func (s *CloudWatchAlarmDefinition) SetStatistic(v string) *CloudWatchAlarmDefinition

SetStatistic sets the Statistic field's value.

func (*CloudWatchAlarmDefinition) SetThreshold Uses

func (s *CloudWatchAlarmDefinition) SetThreshold(v float64) *CloudWatchAlarmDefinition

SetThreshold sets the Threshold field's value.

func (*CloudWatchAlarmDefinition) SetUnit Uses

func (s *CloudWatchAlarmDefinition) SetUnit(v string) *CloudWatchAlarmDefinition

SetUnit sets the Unit field's value.

func (CloudWatchAlarmDefinition) String Uses

func (s CloudWatchAlarmDefinition) String() string

String returns the string representation

func (*CloudWatchAlarmDefinition) Validate Uses

func (s *CloudWatchAlarmDefinition) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type Cluster Uses

type Cluster struct {

    // The applications installed on this cluster.
    Applications []*Application `type:"list"`

    // An IAM role for automatic scaling policies. The default role is EMR_AutoScaling_DefaultRole.
    // The IAM role provides permissions that the automatic scaling feature requires
    // to launch and terminate EC2 instances in an instance group.
    AutoScalingRole *string `type:"string"`

    // Specifies whether the cluster should terminate after completing all steps.
    AutoTerminate *bool `type:"boolean"`

    // Applies only to Amazon EMR releases 4.x and later. The list of Configurations
    // supplied to the EMR cluster.
    Configurations []*Configuration `type:"list"`

    // Available only in Amazon EMR version 5.7.0 and later. The ID of a custom
    // Amazon EBS-backed Linux AMI if the cluster uses a custom AMI.
    CustomAmiId *string `type:"string"`

    // The size, in GiB, of the EBS root device volume of the Linux AMI that is
    // used for each EC2 instance. Available in Amazon EMR version 4.x and later.
    EbsRootVolumeSize *int64 `type:"integer"`

    // 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 instance fleet configuration is available only in Amazon EMR versions
    // 4.8.0 and later, excluding 5.0.x versions.
    //
    // The instance group configuration of the cluster. A value of INSTANCE_GROUP
    // indicates a uniform instance group configuration. A value of INSTANCE_FLEET
    // indicates an instance fleets configuration.
    InstanceCollectionType *string `type:"string" enum:"InstanceCollectionType"`

    // Attributes for Kerberos configuration when Kerberos authentication is enabled
    // using a security configuration. For more information see Use Kerberos Authentication
    // (https://docs.aws.amazon.com/emr/latest/ManagementGuide/emr-kerberos.html)
    // in the EMR Management Guide.
    KerberosAttributes *KerberosAttributes `type:"structure"`

    // The path to the Amazon S3 location where logs for this cluster are stored.
    LogUri *string `type:"string"`

    // The DNS name of the master node. If the cluster is on a private subnet, this
    // is the private DNS name. On a public subnet, this is the public DNS name.
    MasterPublicDnsName *string `type:"string"`

    // The name of the cluster.
    Name *string `type:"string"`

    // An approximation of the cost of the cluster, 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 Amazon EMR release label, which determines the version of open-source
    // application packages installed on the cluster. Release labels are in the
    // form emr-x.x.x, where x.x.x is an Amazon EMR release version, for example,
    // emr-5.14.0. For more information about Amazon EMR release versions and included
    // application versions and features, see https://docs.aws.amazon.com/emr/latest/ReleaseGuide/
    // (https://docs.aws.amazon.com/emr/latest/ReleaseGuide/). The release label
    // applies only to Amazon EMR releases versions 4.x and later. Earlier versions
    // use AmiVersion.
    ReleaseLabel *string `type:"string"`

    // Applies only when CustomAmiID is used. Specifies the type of updates that
    // are applied from the Amazon Linux AMI package repositories when an instance
    // boots using the AMI.
    RepoUpgradeOnBoot *string `type:"string" enum:"RepoUpgradeOnBoot"`

    // The AMI version requested for this cluster.
    RequestedAmiVersion *string `type:"string"`

    // The AMI version running on this cluster.
    RunningAmiVersion *string `type:"string"`

    // The way that individual Amazon EC2 instances terminate when an automatic
    // scale-in activity occurs or an instance group is resized. TERMINATE_AT_INSTANCE_HOUR
    // indicates that Amazon EMR terminates nodes at the instance-hour boundary,
    // regardless of when the request to terminate the instance was submitted. This
    // option is only available with Amazon EMR 5.1.0 and later and is the default
    // for clusters created using that version. TERMINATE_AT_TASK_COMPLETION indicates
    // that Amazon EMR blacklists and drains tasks from nodes before terminating
    // the Amazon EC2 instances, regardless of the instance-hour boundary. With
    // either behavior, Amazon EMR removes the least active nodes first and blocks
    // instance termination if it could lead to HDFS corruption. TERMINATE_AT_TASK_COMPLETION
    // is available only in Amazon EMR version 4.1.0 and later, and is the default
    // for versions of Amazon EMR earlier than 5.1.0.
    ScaleDownBehavior *string `type:"string" enum:"ScaleDownBehavior"`

    // 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 cluster is visible to all IAM users of the AWS account
    // associated with the cluster. If this value is set to true, all IAM users
    // of that AWS account can view and manage the cluster 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) GoString Uses

func (s Cluster) GoString() string

GoString returns the string representation

func (*Cluster) SetApplications Uses

func (s *Cluster) SetApplications(v []*Application) *Cluster

SetApplications sets the Applications field's value.

func (*Cluster) SetAutoScalingRole Uses

func (s *Cluster) SetAutoScalingRole(v string) *Cluster

SetAutoScalingRole sets the AutoScalingRole field's value.

func (*Cluster) SetAutoTerminate Uses

func (s *Cluster) SetAutoTerminate(v bool) *Cluster

SetAutoTerminate sets the AutoTerminate field's value.

func (*Cluster) SetConfigurations Uses

func (s *Cluster) SetConfigurations(v []*Configuration) *Cluster

SetConfigurations sets the Configurations field's value.

func (*Cluster) SetCustomAmiId Uses

func (s *Cluster) SetCustomAmiId(v string) *Cluster

SetCustomAmiId sets the CustomAmiId field's value.

func (*Cluster) SetEbsRootVolumeSize Uses

func (s *Cluster) SetEbsRootVolumeSize(v int64) *Cluster

SetEbsRootVolumeSize sets the EbsRootVolumeSize field's value.

func (*Cluster) SetEc2InstanceAttributes Uses

func (s *Cluster) SetEc2InstanceAttributes(v *Ec2InstanceAttributes) *Cluster

SetEc2InstanceAttributes sets the Ec2InstanceAttributes field's value.

func (*Cluster) SetId Uses

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

SetId sets the Id field's value.

func (*Cluster) SetInstanceCollectionType Uses

func (s *Cluster) SetInstanceCollectionType(v string) *Cluster

SetInstanceCollectionType sets the InstanceCollectionType field's value.

func (*Cluster) SetKerberosAttributes Uses

func (s *Cluster) SetKerberosAttributes(v *KerberosAttributes) *Cluster

SetKerberosAttributes sets the KerberosAttributes field's value.

func (*Cluster) SetLogUri Uses

func (s *Cluster) SetLogUri(v string) *Cluster

SetLogUri sets the LogUri field's value.

func (*Cluster) SetMasterPublicDnsName Uses

func (s *Cluster) SetMasterPublicDnsName(v string) *Cluster

SetMasterPublicDnsName sets the MasterPublicDnsName field's value.

func (*Cluster) SetName Uses

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

SetName sets the Name field's value.

func (*Cluster) SetNormalizedInstanceHours Uses

func (s *Cluster) SetNormalizedInstanceHours(v int64) *Cluster

SetNormalizedInstanceHours sets the NormalizedInstanceHours field's value.

func (*Cluster) SetReleaseLabel Uses

func (s *Cluster) SetReleaseLabel(v string) *Cluster

SetReleaseLabel sets the ReleaseLabel field's value.

func (*Cluster) SetRepoUpgradeOnBoot Uses

func (s *Cluster) SetRepoUpgradeOnBoot(v string) *Cluster

SetRepoUpgradeOnBoot sets the RepoUpgradeOnBoot field's value.

func (*Cluster) SetRequestedAmiVersion Uses

func (s *Cluster) SetRequestedAmiVersion(v string) *Cluster

SetRequestedAmiVersion sets the RequestedAmiVersion field's value.

func (*Cluster) SetRunningAmiVersion Uses

func (s *Cluster) SetRunningAmiVersion(v string) *Cluster

SetRunningAmiVersion sets the RunningAmiVersion field's value.

func (*Cluster) SetScaleDownBehavior Uses

func (s *Cluster) SetScaleDownBehavior(v string) *Cluster

SetScaleDownBehavior sets the ScaleDownBehavior field's value.

func (*Cluster) SetSecurityConfiguration Uses

func (s *Cluster) SetSecurityConfiguration(v string) *Cluster

SetSecurityConfiguration sets the SecurityConfiguration field's value.

func (*Cluster) SetServiceRole Uses

func (s *Cluster) SetServiceRole(v string) *Cluster

SetServiceRole sets the ServiceRole field's value.

func (*Cluster) SetStatus Uses

func (s *Cluster) SetStatus(v *ClusterStatus) *Cluster

SetStatus sets the Status field's value.

func (*Cluster) SetTags Uses

func (s *Cluster) SetTags(v []*Tag) *Cluster

SetTags sets the Tags field's value.

func (*Cluster) SetTerminationProtected Uses

func (s *Cluster) SetTerminationProtected(v bool) *Cluster

SetTerminationProtected sets the TerminationProtected field's value.

func (*Cluster) SetVisibleToAllUsers Uses

func (s *Cluster) SetVisibleToAllUsers(v bool) *Cluster

SetVisibleToAllUsers sets the VisibleToAllUsers field's value.

func (Cluster) String Uses

func (s Cluster) String() string

String returns the string representation

type ClusterStateChangeReason Uses

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 Uses

func (s ClusterStateChangeReason) GoString() string

GoString returns the string representation

func (*ClusterStateChangeReason) SetCode Uses

func (s *ClusterStateChangeReason) SetCode(v string) *ClusterStateChangeReason

SetCode sets the Code field's value.

func (*ClusterStateChangeReason) SetMessage Uses

func (s *ClusterStateChangeReason) SetMessage(v string) *ClusterStateChangeReason

SetMessage sets the Message field's value.

func (ClusterStateChangeReason) String Uses

func (s ClusterStateChangeReason) String() string

String returns the string representation

type ClusterStatus Uses

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 Uses

func (s ClusterStatus) GoString() string

GoString returns the string representation

func (*ClusterStatus) SetState Uses

func (s *ClusterStatus) SetState(v string) *ClusterStatus

SetState sets the State field's value.

func (*ClusterStatus) SetStateChangeReason Uses

func (s *ClusterStatus) SetStateChangeReason(v *ClusterStateChangeReason) *ClusterStatus

SetStateChangeReason sets the StateChangeReason field's value.

func (*ClusterStatus) SetTimeline Uses

func (s *ClusterStatus) SetTimeline(v *ClusterTimeline) *ClusterStatus

SetTimeline sets the Timeline field's value.

func (ClusterStatus) String Uses

func (s ClusterStatus) String() string

String returns the string representation

type ClusterSummary Uses

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 cluster, 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 Uses

func (s ClusterSummary) GoString() string

GoString returns the string representation

func (*ClusterSummary) SetId Uses

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

SetId sets the Id field's value.

func (*ClusterSummary) SetName Uses

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

SetName sets the Name field's value.

func (*ClusterSummary) SetNormalizedInstanceHours Uses

func (s *ClusterSummary) SetNormalizedInstanceHours(v int64) *ClusterSummary

SetNormalizedInstanceHours sets the NormalizedInstanceHours field's value.

func (*ClusterSummary) SetStatus Uses

func (s *ClusterSummary) SetStatus(v *ClusterStatus) *ClusterSummary

SetStatus sets the Status field's value.

func (ClusterSummary) String Uses

func (s ClusterSummary) String() string

String returns the string representation

type ClusterTimeline Uses

type ClusterTimeline struct {

    // The creation date and time of the cluster.
    CreationDateTime *time.Time `type:"timestamp"`

    // The date and time when the cluster was terminated.
    EndDateTime *time.Time `type:"timestamp"`

    // The date and time when the cluster was ready to execute steps.
    ReadyDateTime *time.Time `type:"timestamp"`
    // contains filtered or unexported fields
}

Represents the timeline of the cluster's lifecycle.

func (ClusterTimeline) GoString Uses

func (s ClusterTimeline) GoString() string

GoString returns the string representation

func (*ClusterTimeline) SetCreationDateTime Uses

func (s *ClusterTimeline) SetCreationDateTime(v time.Time) *ClusterTimeline

SetCreationDateTime sets the CreationDateTime field's value.

func (*ClusterTimeline) SetEndDateTime Uses

func (s *ClusterTimeline) SetEndDateTime(v time.Time) *ClusterTimeline

SetEndDateTime sets the EndDateTime field's value.

func (*ClusterTimeline) SetReadyDateTime Uses

func (s *ClusterTimeline) SetReadyDateTime(v time.Time) *ClusterTimeline

SetReadyDateTime sets the ReadyDateTime field's value.

func (ClusterTimeline) String Uses

func (s ClusterTimeline) String() string

String returns the string representation

type Command Uses

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) GoString Uses

func (s Command) GoString() string

GoString returns the string representation

func (*Command) SetArgs Uses

func (s *Command) SetArgs(v []*string) *Command

SetArgs sets the Args field's value.

func (*Command) SetName Uses

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

SetName sets the Name field's value.

func (*Command) SetScriptPath Uses

func (s *Command) SetScriptPath(v string) *Command

SetScriptPath sets the ScriptPath field's value.

func (Command) String Uses

func (s Command) String() string

String returns the string representation

type Configuration Uses

type Configuration struct {

    // The classification within a configuration.
    Classification *string `type:"string"`

    // A list of additional configurations to apply within a configuration object.
    Configurations []*Configuration `type:"list"`

    // A set of properties specified within a configuration classification.
    Properties map[string]*string `type:"map"`
    // contains filtered or unexported fields
}

Amazon EMR releases 4.x or later.

An optional configuration specification to be used when provisioning cluster instances, which can include configurations for applications and software bundled with Amazon EMR. A configuration consists of a classification, properties, and optional nested configurations. A classification refers to an application-specific configuration file. Properties are the settings you want to change in that file. For more information, see Configuring Applications (https://docs.aws.amazon.com/emr/latest/ReleaseGuide/emr-configure-apps.html).

func (Configuration) GoString Uses

func (s Configuration) GoString() string

GoString returns the string representation

func (*Configuration) SetClassification Uses

func (s *Configuration) SetClassification(v string) *Configuration

SetClassification sets the Classification field's value.

func (*Configuration) SetConfigurations Uses

func (s *Configuration) SetConfigurations(v []*Configuration) *Configuration

SetConfigurations sets the Configurations field's value.

func (*Configuration) SetProperties Uses

func (s *Configuration) SetProperties(v map[string]*string) *Configuration

SetProperties sets the Properties field's value.

func (Configuration) String Uses

func (s Configuration) String() string

String returns the string representation

type CreateSecurityConfigurationInput Uses

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. For JSON parameters and
    // examples, see Use Security Configurations to Set Up Cluster Security (https://docs.aws.amazon.com/emr/latest/ManagementGuide/emr-security-configurations.html)
    // in the Amazon EMR Management Guide.
    //
    // SecurityConfiguration is a required field
    SecurityConfiguration *string `type:"string" required:"true"`
    // contains filtered or unexported fields
}

func (CreateSecurityConfigurationInput) GoString Uses

func (s CreateSecurityConfigurationInput) GoString() string

GoString returns the string representation

func (*CreateSecurityConfigurationInput) SetName Uses

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

SetName sets the Name field's value.

func (*CreateSecurityConfigurationInput) SetSecurityConfiguration Uses

func (s *CreateSecurityConfigurationInput) SetSecurityConfiguration(v string) *CreateSecurityConfigurationInput

SetSecurityConfiguration sets the SecurityConfiguration field's value.

func (CreateSecurityConfigurationInput) String Uses

func (s CreateSecurityConfigurationInput) String() string

String returns the string representation

func (*CreateSecurityConfigurationInput) Validate Uses

func (s *CreateSecurityConfigurationInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type CreateSecurityConfigurationOutput Uses

type CreateSecurityConfigurationOutput struct {

    // The date and time the security configuration was created.
    //
    // CreationDateTime is a required field
    CreationDateTime *time.Time `type:"timestamp" 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 Uses

func (s CreateSecurityConfigurationOutput) GoString() string

GoString returns the string representation

func (*CreateSecurityConfigurationOutput) SetCreationDateTime Uses

func (s *CreateSecurityConfigurationOutput) SetCreationDateTime(v time.Time) *CreateSecurityConfigurationOutput

SetCreationDateTime sets the CreationDateTime field's value.

func (*CreateSecurityConfigurationOutput) SetName Uses

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

SetName sets the Name field's value.

func (CreateSecurityConfigurationOutput) String Uses

func (s CreateSecurityConfigurationOutput) String() string

String returns the string representation

type DeleteSecurityConfigurationInput Uses

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 Uses

func (s DeleteSecurityConfigurationInput) GoString() string

GoString returns the string representation

func (*DeleteSecurityConfigurationInput) SetName Uses

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

SetName sets the Name field's value.

func (DeleteSecurityConfigurationInput) String Uses

func (s DeleteSecurityConfigurationInput) String() string

String returns the string representation

func (*DeleteSecurityConfigurationInput) Validate Uses

func (s *DeleteSecurityConfigurationInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type DeleteSecurityConfigurationOutput Uses

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

func (DeleteSecurityConfigurationOutput) GoString Uses

func (s DeleteSecurityConfigurationOutput) GoString() string

GoString returns the string representation

func (DeleteSecurityConfigurationOutput) String Uses

func (s DeleteSecurityConfigurationOutput) String() string

String returns the string representation

type DescribeClusterInput Uses

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 Uses

func (s DescribeClusterInput) GoString() string

GoString returns the string representation

func (*DescribeClusterInput) SetClusterId Uses

func (s *DescribeClusterInput) SetClusterId(v string) *DescribeClusterInput

SetClusterId sets the ClusterId field's value.

func (DescribeClusterInput) String Uses

func (s DescribeClusterInput) String() string

String returns the string representation

func (*DescribeClusterInput) Validate Uses

func (s *DescribeClusterInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type DescribeClusterOutput Uses

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 Uses

func (s DescribeClusterOutput) GoString() string

GoString returns the string representation

func (*DescribeClusterOutput) SetCluster Uses

func (s *DescribeClusterOutput) SetCluster(v *Cluster) *DescribeClusterOutput

SetCluster sets the Cluster field's value.

func (DescribeClusterOutput) String Uses

func (s DescribeClusterOutput) String() string

String returns the string representation

type DescribeJobFlowsInput Uses

type DescribeJobFlowsInput struct {

    // Return only job flows created after this date and time.
    CreatedAfter *time.Time `type:"timestamp"`

    // Return only job flows created before this date and time.
    CreatedBefore *time.Time `type:"timestamp"`

    // 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 Uses

func (s DescribeJobFlowsInput) GoString() string

GoString returns the string representation

func (*DescribeJobFlowsInput) SetCreatedAfter Uses

func (s *DescribeJobFlowsInput) SetCreatedAfter(v time.Time) *DescribeJobFlowsInput

SetCreatedAfter sets the CreatedAfter field's value.

func (*DescribeJobFlowsInput) SetCreatedBefore Uses

func (s *DescribeJobFlowsInput) SetCreatedBefore(v time.Time) *DescribeJobFlowsInput

SetCreatedBefore sets the CreatedBefore field's value.

func (*DescribeJobFlowsInput) SetJobFlowIds Uses

func (s *DescribeJobFlowsInput) SetJobFlowIds(v []*string) *DescribeJobFlowsInput

SetJobFlowIds sets the JobFlowIds field's value.

func (*DescribeJobFlowsInput) SetJobFlowStates Uses

func (s *DescribeJobFlowsInput) SetJobFlowStates(v []*string) *DescribeJobFlowsInput

SetJobFlowStates sets the JobFlowStates field's value.

func (DescribeJobFlowsInput) String Uses

func (s DescribeJobFlowsInput) String() string

String returns the string representation

type DescribeJobFlowsOutput Uses

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 Uses

func (s DescribeJobFlowsOutput) GoString() string

GoString returns the string representation

func (*DescribeJobFlowsOutput) SetJobFlows Uses

func (s *DescribeJobFlowsOutput) SetJobFlows(v []*JobFlowDetail) *DescribeJobFlowsOutput

SetJobFlows sets the JobFlows field's value.

func (DescribeJobFlowsOutput) String Uses

func (s DescribeJobFlowsOutput) String() string

String returns the string representation

type DescribeSecurityConfigurationInput Uses

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 Uses

func (s DescribeSecurityConfigurationInput) GoString() string

GoString returns the string representation

func (*DescribeSecurityConfigurationInput) SetName Uses

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

SetName sets the Name field's value.

func (DescribeSecurityConfigurationInput) String Uses

func (s DescribeSecurityConfigurationInput) String() string

String returns the string representation

func (*DescribeSecurityConfigurationInput) Validate Uses

func (s *DescribeSecurityConfigurationInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type DescribeSecurityConfigurationOutput Uses

type DescribeSecurityConfigurationOutput struct {

    // The date and time the security configuration was created
    CreationDateTime *time.Time `type:"timestamp"`

    // 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 Uses

func (s DescribeSecurityConfigurationOutput) GoString() string

GoString returns the string representation

func (*DescribeSecurityConfigurationOutput) SetCreationDateTime Uses

func (s *DescribeSecurityConfigurationOutput) SetCreationDateTime(v time.Time) *DescribeSecurityConfigurationOutput

SetCreationDateTime sets the CreationDateTime field's value.

func (*DescribeSecurityConfigurationOutput) SetName Uses

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

SetName sets the Name field's value.

func (*DescribeSecurityConfigurationOutput) SetSecurityConfiguration Uses

func (s *DescribeSecurityConfigurationOutput) SetSecurityConfiguration(v string) *DescribeSecurityConfigurationOutput

SetSecurityConfiguration sets the SecurityConfiguration field's value.

func (DescribeSecurityConfigurationOutput) String Uses

func (s DescribeSecurityConfigurationOutput) String() string

String returns the string representation

type DescribeStepInput Uses

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 Uses

func (s DescribeStepInput) GoString() string

GoString returns the string representation

func (*DescribeStepInput) SetClusterId Uses

func (s *DescribeStepInput) SetClusterId(v string) *DescribeStepInput

SetClusterId sets the ClusterId field's value.

func (*DescribeStepInput) SetStepId Uses

func (s *DescribeStepInput) SetStepId(v string) *DescribeStepInput

SetStepId sets the StepId field's value.

func (DescribeStepInput) String Uses

func (s DescribeStepInput) String() string

String returns the string representation

func (*DescribeStepInput) Validate Uses

func (s *DescribeStepInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type DescribeStepOutput Uses

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 Uses

func (s DescribeStepOutput) GoString() string

GoString returns the string representation

func (*DescribeStepOutput) SetStep Uses

func (s *DescribeStepOutput) SetStep(v *Step) *DescribeStepOutput

SetStep sets the Step field's value.

func (DescribeStepOutput) String Uses

func (s DescribeStepOutput) String() string

String returns the string representation

type EMR Uses

type EMR struct {
    *client.Client
}

EMR provides the API operation methods for making requests to Amazon Elastic MapReduce. See this package's package overview docs for details on the service.

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

func New Uses

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) AddInstanceFleet Uses

func (c *EMR) AddInstanceFleet(input *AddInstanceFleetInput) (*AddInstanceFleetOutput, error)

AddInstanceFleet API operation for Amazon Elastic MapReduce.

Adds an instance fleet to a running cluster.

The instance fleet configuration is available only in Amazon EMR versions 4.8.0 and later, excluding 5.0.x.

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 AddInstanceFleet for usage and error information.

Returned Error Codes:

* ErrCodeInternalServerException "InternalServerException"
This exception occurs when there is an internal failure in the EMR service.

* ErrCodeInvalidRequestException "InvalidRequestException"
This exception occurs when there is something wrong with user input.

See also, https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/AddInstanceFleet

func (*EMR) AddInstanceFleetRequest Uses

func (c *EMR) AddInstanceFleetRequest(input *AddInstanceFleetInput) (req *request.Request, output *AddInstanceFleetOutput)

AddInstanceFleetRequest generates a "aws/request.Request" representing the client's request for the AddInstanceFleet operation. The "output" return value will be populated with the request's response once the request completes successfully.

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

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

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

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

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

See also, https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/AddInstanceFleet

func (*EMR) AddInstanceFleetWithContext Uses

func (c *EMR) AddInstanceFleetWithContext(ctx aws.Context, input *AddInstanceFleetInput, opts ...request.Option) (*AddInstanceFleetOutput, error)

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

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

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

func (*EMR) AddInstanceGroups Uses

func (c *EMR) AddInstanceGroups(input *AddInstanceGroupsInput) (*AddInstanceGroupsOutput, error)

AddInstanceGroups API operation for Amazon Elastic MapReduce.

Adds one or more instance groups 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:

* ErrCodeInternalServerError "InternalServerError"
Indicates that an error occurred while processing the request and that the
request was not completed.

See also, https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/AddInstanceGroups

func (*EMR) AddInstanceGroupsRequest Uses

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 will be populated with the request's response once the request completes successfully.

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

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

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

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

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

See also, https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/AddInstanceGroups

func (*EMR) AddInstanceGroupsWithContext Uses

func (c *EMR) AddInstanceGroupsWithContext(ctx aws.Context, input *AddInstanceGroupsInput, opts ...request.Option) (*AddInstanceGroupsOutput, error)

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

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

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

func (*EMR) AddJobFlowSteps Uses

func (c *EMR) AddJobFlowSteps(input *AddJobFlowStepsInput) (*AddJobFlowStepsOutput, error)

AddJobFlowSteps API operation for Amazon Elastic MapReduce.

AddJobFlowSteps adds new steps to a running cluster. A maximum of 256 steps are allowed in each job flow.

If your cluster 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 SSH 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, see Add More than 256 Steps to a Cluster (https://docs.aws.amazon.com/emr/latest/ManagementGuide/AddMoreThan256Steps.html) in the Amazon EMR Management Guide.

A step specifies the location of a JAR file stored either on the master node of the cluster 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.

Amazon EMR 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 cluster 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:

* ErrCodeInternalServerError "InternalServerError"
Indicates that an error occurred while processing the request and that the
request was not completed.

See also, https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/AddJobFlowSteps

func (*EMR) AddJobFlowStepsRequest Uses

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 will be populated with the request's response once the request completes successfully.

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

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

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

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

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

See also, https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/AddJobFlowSteps

func (*EMR) AddJobFlowStepsWithContext Uses

func (c *EMR) AddJobFlowStepsWithContext(ctx aws.Context, input *AddJobFlowStepsInput, opts ...request.Option) (*AddJobFlowStepsOutput, error)

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

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

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

func (*EMR) AddTags Uses

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 Tag Clusters (https://docs.aws.amazon.com/emr/latest/ManagementGuide/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:

* ErrCodeInternalServerException "InternalServerException"
This exception occurs when there is an internal failure in the EMR service.

* ErrCodeInvalidRequestException "InvalidRequestException"
This exception occurs when there is something wrong with user input.

See also, https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/AddTags

func (*EMR) AddTagsRequest Uses

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 will be populated with the request's response once the request completes successfully.

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

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

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

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

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

See also, https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/AddTags

func (*EMR) AddTagsWithContext Uses

func (c *EMR) AddTagsWithContext(ctx aws.Context, input *AddTagsInput, opts ...request.Option) (*AddTagsOutput, error)

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

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

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

func (*EMR) CancelSteps Uses

func (c *EMR) CancelSteps(input *CancelStepsInput) (*CancelStepsOutput, error)

CancelSteps API operation for Amazon Elastic MapReduce.

Cancels a pending step or steps in a running cluster. Available only in Amazon EMR versions 4.8.0 and later, excluding version 5.0.0. A maximum of 256 steps are allowed in each CancelSteps request. CancelSteps is idempotent but asynchronous; it does not guarantee a step will be canceled, even if the request is successfully submitted. You can only cancel steps that are in a PENDING state.

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 CancelSteps for usage and error information.

Returned Error Codes:

* ErrCodeInternalServerError "InternalServerError"
Indicates that an error occurred while processing the request and that the
request was not completed.

* ErrCodeInvalidRequestException "InvalidRequestException"
This exception occurs when there is something wrong with user input.

See also, https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/CancelSteps

func (*EMR) CancelStepsRequest Uses

func (c *EMR) CancelStepsRequest(input *CancelStepsInput) (req *request.Request, output *CancelStepsOutput)

CancelStepsRequest generates a "aws/request.Request" representing the client's request for the CancelSteps operation. The "output" return value will be populated with the request's response once the request completes successfully.

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

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

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

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

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

See also, https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/CancelSteps

func (*EMR) CancelStepsWithContext Uses

func (c *EMR) CancelStepsWithContext(ctx aws.Context, input *CancelStepsInput, opts ...request.Option) (*CancelStepsOutput, error)

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

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

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

func (*EMR) CreateSecurityConfiguration Uses

func (c *EMR) CreateSecurityConfiguration(input *CreateSecurityConfigurationInput) (*CreateSecurityConfigurationOutput, error)

CreateSecurityConfiguration API operation for Amazon Elastic MapReduce.

Creates a security configuration, which is stored in the service and can be specified when 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:

* ErrCodeInternalServerException "InternalServerException"
This exception occurs when there is an internal failure in the EMR service.

* ErrCodeInvalidRequestException "InvalidRequestException"
This exception occurs when there is something wrong with user input.

See also, https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/CreateSecurityConfiguration

func (*EMR) CreateSecurityConfigurationRequest Uses

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 will be populated with the request's response once the request completes successfully.

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

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

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

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

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

See also, https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/CreateSecurityConfiguration

func (*EMR) CreateSecurityConfigurationWithContext Uses

func (c *EMR) CreateSecurityConfigurationWithContext(ctx aws.Context, input *CreateSecurityConfigurationInput, opts ...request.Option) (*CreateSecurityConfigurationOutput, error)

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

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

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

func (*EMR) DeleteSecurityConfiguration Uses

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:

* ErrCodeInternalServerException "InternalServerException"
This exception occurs when there is an internal failure in the EMR service.

* ErrCodeInvalidRequestException "InvalidRequestException"
This exception occurs when there is something wrong with user input.

See also, https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/DeleteSecurityConfiguration

func (*EMR) DeleteSecurityConfigurationRequest Uses

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 will be populated with the request's response once the request completes successfully.

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

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

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

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

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

See also, https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/DeleteSecurityConfiguration

func (*EMR) DeleteSecurityConfigurationWithContext Uses

func (c *EMR) DeleteSecurityConfigurationWithContext(ctx aws.Context, input *DeleteSecurityConfigurationInput, opts ...request.Option) (*DeleteSecurityConfigurationOutput, error)

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

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

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

func (*EMR) DescribeCluster Uses

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.

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:

* ErrCodeInternalServerException "InternalServerException"
This exception occurs when there is an internal failure in the EMR service.

* ErrCodeInvalidRequestException "InvalidRequestException"
This exception occurs when there is something wrong with user input.

See also, https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/DescribeCluster

func (*EMR) DescribeClusterRequest Uses

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 will be populated with the request's response once the request completes successfully.

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

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

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

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

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

See also, https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/DescribeCluster

func (*EMR) DescribeClusterWithContext Uses

func (c *EMR) DescribeClusterWithContext(ctx aws.Context, input *DescribeClusterInput, opts ...request.Option) (*DescribeClusterOutput, error)

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

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

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

func (*EMR) DescribeJobFlows Uses

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 EMR 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:

* ErrCodeInternalServerError "InternalServerError"
Indicates that an error occurred while processing the request and that the
request was not completed.

See also, https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/DescribeJobFlows

Deprecated: DescribeJobFlows has been deprecated

func (*EMR) DescribeJobFlowsRequest Uses

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 will be populated with the request's response once the request completes successfully.

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

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

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

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

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

See also, https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/DescribeJobFlows

Deprecated: DescribeJobFlows has been deprecated

func (*EMR) DescribeJobFlowsWithContext Uses

func (c *EMR) DescribeJobFlowsWithContext(ctx aws.Context, input *DescribeJobFlowsInput, opts ...request.Option) (*DescribeJobFlowsOutput, error)

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

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

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

Deprecated: DescribeJobFlowsWithContext has been deprecated

func (*EMR) DescribeSecurityConfiguration Uses

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:

* ErrCodeInternalServerException "InternalServerException"
This exception occurs when there is an internal failure in the EMR service.

* ErrCodeInvalidRequestException "InvalidRequestException"
This exception occurs when there is something wrong with user input.

See also, https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/DescribeSecurityConfiguration

func (*EMR) DescribeSecurityConfigurationRequest Uses

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 will be populated with the request's response once the request completes successfully.

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

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

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

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

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

See also, https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/DescribeSecurityConfiguration

func (*EMR) DescribeSecurityConfigurationWithContext Uses

func (c *EMR) DescribeSecurityConfigurationWithContext(ctx aws.Context, input *DescribeSecurityConfigurationInput, opts ...request.Option) (*DescribeSecurityConfigurationOutput, error)

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

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

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

func (*EMR) DescribeStep Uses

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:

* ErrCodeInternalServerException "InternalServerException"
This exception occurs when there is an internal failure in the EMR service.

* ErrCodeInvalidRequestException "InvalidRequestException"
This exception occurs when there is something wrong with user input.

See also, https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/DescribeStep

func (*EMR) DescribeStepRequest Uses

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 will be populated with the request's response once the request completes successfully.

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

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

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

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

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

See also, https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/DescribeStep

func (*EMR) DescribeStepWithContext Uses

func (c *EMR) DescribeStepWithContext(ctx aws.Context, input *DescribeStepInput, opts ...request.Option) (*DescribeStepOutput, error)

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

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

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

func (*EMR) ListBootstrapActions Uses

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:

* ErrCodeInternalServerException "InternalServerException"
This exception occurs when there is an internal failure in the EMR service.

* ErrCodeInvalidRequestException "InvalidRequestException"
This exception occurs when there is something wrong with user input.

See also, https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/ListBootstrapActions

func (*EMR) ListBootstrapActionsPages Uses

func (c *EMR) ListBootstrapActionsPages(input *ListBootstrapActionsInput, fn func(*ListBootstrapActionsOutput, bool) 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 *emr.ListBootstrapActionsOutput, lastPage bool) bool {
        pageNum++
        fmt.Println(page)
        return pageNum <= 3
    })

func (*EMR) ListBootstrapActionsPagesWithContext Uses

func (c *EMR) ListBootstrapActionsPagesWithContext(ctx aws.Context, input *ListBootstrapActionsInput, fn func(*ListBootstrapActionsOutput, bool) bool, opts ...request.Option) error

ListBootstrapActionsPagesWithContext same as ListBootstrapActionsPages except it takes a Context and allows setting request options on the pages.

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

func (*EMR) ListBootstrapActionsRequest Uses

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 will be populated with the request's response once the request completes successfully.

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

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

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

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

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

See also, https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/ListBootstrapActions

func (*EMR) ListBootstrapActionsWithContext Uses

func (c *EMR) ListBootstrapActionsWithContext(ctx aws.Context, input *ListBootstrapActionsInput, opts ...request.Option) (*ListBootstrapActionsOutput, error)

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

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

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

func (*EMR) ListClusters Uses

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:

* ErrCodeInternalServerException "InternalServerException"
This exception occurs when there is an internal failure in the EMR service.

* ErrCodeInvalidRequestException "InvalidRequestException"
This exception occurs when there is something wrong with user input.

See also, https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/ListClusters

func (*EMR) ListClustersPages Uses

func (c *EMR) ListClustersPages(input *ListClustersInput, fn func(*ListClustersOutput, bool) 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 *emr.ListClustersOutput, lastPage bool) bool {
        pageNum++
        fmt.Println(page)
        return pageNum <= 3
    })

func (*EMR) ListClustersPagesWithContext Uses

func (c *EMR) ListClustersPagesWithContext(ctx aws.Context, input *ListClustersInput, fn func(*ListClustersOutput, bool) bool, opts ...request.Option) error

ListClustersPagesWithContext same as ListClustersPages except it takes a Context and allows setting request options on the pages.

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

func (*EMR) ListClustersRequest Uses

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 will be populated with the request's response once the request completes successfully.

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

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

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

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

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

See also, https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/ListClusters

func (*EMR) ListClustersWithContext Uses

func (c *EMR) ListClustersWithContext(ctx aws.Context, input *ListClustersInput, opts ...request.Option) (*ListClustersOutput, error)

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

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

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

func (*EMR) ListInstanceFleets Uses

func (c *EMR) ListInstanceFleets(input *ListInstanceFleetsInput) (*ListInstanceFleetsOutput, error)

ListInstanceFleets API operation for Amazon Elastic MapReduce.

Lists all available details about the instance fleets in a cluster.

The instance fleet configuration is available only in Amazon EMR versions 4.8.0 and later, excluding 5.0.x versions.

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 ListInstanceFleets for usage and error information.

Returned Error Codes:

* ErrCodeInternalServerException "InternalServerException"
This exception occurs when there is an internal failure in the EMR service.

* ErrCodeInvalidRequestException "InvalidRequestException"
This exception occurs when there is something wrong with user input.

See also, https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/ListInstanceFleets

func (*EMR) ListInstanceFleetsPages Uses

func (c *EMR) ListInstanceFleetsPages(input *ListInstanceFleetsInput, fn func(*ListInstanceFleetsOutput, bool) bool) error

ListInstanceFleetsPages iterates over the pages of a ListInstanceFleets operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.

See ListInstanceFleets 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 ListInstanceFleets operation.
pageNum := 0
err := client.ListInstanceFleetsPages(params,
    func(page *emr.ListInstanceFleetsOutput, lastPage bool) bool {
        pageNum++
        fmt.Println(page)
        return pageNum <= 3
    })

func (*EMR) ListInstanceFleetsPagesWithContext Uses

func (c *EMR) ListInstanceFleetsPagesWithContext(ctx aws.Context, input *ListInstanceFleetsInput, fn func(*ListInstanceFleetsOutput, bool) bool, opts ...request.Option) error

ListInstanceFleetsPagesWithContext same as ListInstanceFleetsPages except it takes a Context and allows setting request options on the pages.

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

func (*EMR) ListInstanceFleetsRequest Uses

func (c *EMR) ListInstanceFleetsRequest(input *ListInstanceFleetsInput) (req *request.Request, output *ListInstanceFleetsOutput)

ListInstanceFleetsRequest generates a "aws/request.Request" representing the client's request for the ListInstanceFleets operation. The "output" return value will be populated with the request's response once the request completes successfully.

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

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

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

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

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

See also, https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/ListInstanceFleets

func (*EMR) ListInstanceFleetsWithContext Uses

func (c *EMR) ListInstanceFleetsWithContext(ctx aws.Context, input *ListInstanceFleetsInput, opts ...request.Option) (*ListInstanceFleetsOutput, error)

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

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

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

func (*EMR) ListInstanceGroups Uses

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:

* ErrCodeInternalServerException "InternalServerException"
This exception occurs when there is an internal failure in the EMR service.

* ErrCodeInvalidRequestException "InvalidRequestException"
This exception occurs when there is something wrong with user input.

See also, https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/ListInstanceGroups

func (*EMR) ListInstanceGroupsPages Uses

func (c *EMR) ListInstanceGroupsPages(input *ListInstanceGroupsInput, fn func(*ListInstanceGroupsOutput, bool) 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 *emr.ListInstanceGroupsOutput, lastPage bool) bool {
        pageNum++
        fmt.Println(page)
        return pageNum <= 3
    })

func (*EMR) ListInstanceGroupsPagesWithContext Uses

func (c *EMR) ListInstanceGroupsPagesWithContext(ctx aws.Context, input *ListInstanceGroupsInput, fn func(*ListInstanceGroupsOutput, bool) bool, opts ...request.Option) error

ListInstanceGroupsPagesWithContext same as ListInstanceGroupsPages except it takes a Context and allows setting request options on the pages.

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

func (*EMR) ListInstanceGroupsRequest Uses

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 will be populated with the request's response once the request completes successfully.

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

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

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

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

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

See also, https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/ListInstanceGroups

func (*EMR) ListInstanceGroupsWithContext Uses

func (c *EMR) ListInstanceGroupsWithContext(ctx aws.Context, input *ListInstanceGroupsInput, opts ...request.Option) (*ListInstanceGroupsOutput, error)

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

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

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

func (*EMR) ListInstances Uses

func (c *EMR) ListInstances(input *ListInstancesInput) (*ListInstancesOutput, error)

ListInstances API operation for Amazon Elastic MapReduce.

Provides information for all active EC2 instances and EC2 instances terminated in the last 30 days, up to a maximum of 2,000. EC2 instances in any of the following states are considered active: AWAITING_FULFILLMENT, PROVISIONING, BOOTSTRAPPING, RUNNING.

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:

* ErrCodeInternalServerException "InternalServerException"
This exception occurs when there is an internal failure in the EMR service.

* ErrCodeInvalidRequestException "InvalidRequestException"
This exception occurs when there is something wrong with user input.

See also, https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/ListInstances

func (*EMR) ListInstancesPages Uses

func (c *EMR) ListInstancesPages(input *ListInstancesInput, fn func(*ListInstancesOutput, bool) 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 *emr.ListInstancesOutput, lastPage bool) bool {
        pageNum++
        fmt.Println(page)
        return pageNum <= 3
    })

func (*EMR) ListInstancesPagesWithContext Uses

func (c *EMR) ListInstancesPagesWithContext(ctx aws.Context, input *ListInstancesInput, fn func(*ListInstancesOutput, bool) bool, opts ...request.Option) error

ListInstancesPagesWithContext same as ListInstancesPages except it takes a Context and allows setting request options on the pages.

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

func (*EMR) ListInstancesRequest Uses

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 will be populated with the request's response once the request completes successfully.

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

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

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

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

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

See also, https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/ListInstances

func (*EMR) ListInstancesWithContext Uses

func (c *EMR) ListInstancesWithContext(ctx aws.Context, input *ListInstancesInput, opts ...request.Option) (*ListInstancesOutput, error)

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

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

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

func (*EMR) ListSecurityConfigurations Uses

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:

* ErrCodeInternalServerException "InternalServerException"
This exception occurs when there is an internal failure in the EMR service.

* ErrCodeInvalidRequestException "InvalidRequestException"
This exception occurs when there is something wrong with user input.

See also, https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/ListSecurityConfigurations

func (*EMR) ListSecurityConfigurationsPages Uses

func (c *EMR) ListSecurityConfigurationsPages(input *ListSecurityConfigurationsInput, fn func(*ListSecurityConfigurationsOutput, bool) bool) error

ListSecurityConfigurationsPages iterates over the pages of a ListSecurityConfigurations operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.

See ListSecurityConfigurations 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 ListSecurityConfigurations operation.
pageNum := 0
err := client.ListSecurityConfigurationsPages(params,
    func(page *emr.ListSecurityConfigurationsOutput, lastPage bool) bool {
        pageNum++
        fmt.Println(page)
        return pageNum <= 3
    })

func (*EMR) ListSecurityConfigurationsPagesWithContext Uses

func (c *EMR) ListSecurityConfigurationsPagesWithContext(ctx aws.Context, input *ListSecurityConfigurationsInput, fn func(*ListSecurityConfigurationsOutput, bool) bool, opts ...request.Option) error

ListSecurityConfigurationsPagesWithContext same as ListSecurityConfigurationsPages except it takes a Context and allows setting request options on the pages.

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

func (*EMR) ListSecurityConfigurationsRequest Uses

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 will be populated with the request's response once the request completes successfully.

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

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

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

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

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

See also, https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/ListSecurityConfigurations

func (*EMR) ListSecurityConfigurationsWithContext Uses

func (c *EMR) ListSecurityConfigurationsWithContext(ctx aws.Context, input *ListSecurityConfigurationsInput, opts ...request.Option) (*ListSecurityConfigurationsOutput, error)

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

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

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

func (*EMR) ListSteps Uses

func (c *EMR) ListSteps(input *ListStepsInput) (*ListStepsOutput, error)

ListSteps API operation for Amazon Elastic MapReduce.

Provides a list of steps for the cluster in reverse order unless you specify stepIds with the request.

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:

* ErrCodeInternalServerException "InternalServerException"
This exception occurs when there is an internal failure in the EMR service.

* ErrCodeInvalidRequestException "InvalidRequestException"
This exception occurs when there is something wrong with user input.

See also, https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/ListSteps

func (*EMR) ListStepsPages Uses

func (c *EMR) ListStepsPages(input *ListStepsInput, fn func(*ListStepsOutput, bool) 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 *emr.ListStepsOutput, lastPage bool) bool {
        pageNum++
        fmt.Println(page)
        return pageNum <= 3
    })

func (*EMR) ListStepsPagesWithContext Uses

func (c *EMR) ListStepsPagesWithContext(ctx aws.Context, input *ListStepsInput, fn func(*ListStepsOutput, bool) bool, opts ...request.Option) error

ListStepsPagesWithContext same as ListStepsPages except it takes a Context and allows setting request options on the pages.

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

func (*EMR) ListStepsRequest Uses

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 will be populated with the request's response once the request completes successfully.

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

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

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

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

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

See also, https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/ListSteps

func (*EMR) ListStepsWithContext Uses

func (c *EMR) ListStepsWithContext(ctx aws.Context, input *ListStepsInput, opts ...request.Option) (*ListStepsOutput, error)

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

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

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

func (*EMR) ModifyInstanceFleet Uses

func (c *EMR) ModifyInstanceFleet(input *ModifyInstanceFleetInput) (*ModifyInstanceFleetOutput, error)

ModifyInstanceFleet API operation for Amazon Elastic MapReduce.

Modifies the target On-Demand and target Spot capacities for the instance fleet with the specified InstanceFleetID within the cluster specified using ClusterID. The call either succeeds or fails atomically.

The instance fleet configuration is available only in Amazon EMR versions 4.8.0 and later, excluding 5.0.x versions.

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 ModifyInstanceFleet for usage and error information.

Returned Error Codes:

* ErrCodeInternalServerException "InternalServerException"
This exception occurs when there is an internal failure in the EMR service.

* ErrCodeInvalidRequestException "InvalidRequestException"
This exception occurs when there is something wrong with user input.

See also, https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/ModifyInstanceFleet

func (*EMR) ModifyInstanceFleetRequest Uses

func (c *EMR) ModifyInstanceFleetRequest(input *ModifyInstanceFleetInput) (req *request.Request, output *ModifyInstanceFleetOutput)

ModifyInstanceFleetRequest generates a "aws/request.Request" representing the client's request for the ModifyInstanceFleet operation. The "output" return value will be populated with the request's response once the request completes successfully.

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

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

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

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

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

See also, https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/ModifyInstanceFleet

func (*EMR) ModifyInstanceFleetWithContext Uses

func (c *EMR) ModifyInstanceFleetWithContext(ctx aws.Context, input *ModifyInstanceFleetInput, opts ...request.Option) (*ModifyInstanceFleetOutput, error)

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

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

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

func (*EMR) ModifyInstanceGroups Uses

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:

* ErrCodeInternalServerError "InternalServerError"
Indicates that an error occurred while processing the request and that the
request was not completed.

See also, https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/ModifyInstanceGroups

func (*EMR) ModifyInstanceGroupsRequest Uses

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 will be populated with the request's response once the request completes successfully.

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

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

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

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

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

See also, https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/ModifyInstanceGroups

func (*EMR) ModifyInstanceGroupsWithContext Uses

func (c *EMR) ModifyInstanceGroupsWithContext(ctx aws.Context, input *ModifyInstanceGroupsInput, opts ...request.Option) (*ModifyInstanceGroupsOutput, error)

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

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

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

func (*EMR) PutAutoScalingPolicy Uses

func (c *EMR) PutAutoScalingPolicy(input *PutAutoScalingPolicyInput) (*PutAutoScalingPolicyOutput, error)

PutAutoScalingPolicy API operation for Amazon Elastic MapReduce.

Creates or updates an automatic scaling policy for a core instance group or task instance group in an Amazon EMR cluster. The automatic scaling policy defines how an instance group dynamically adds and terminates EC2 instances in response to the value of a CloudWatch metric.

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 PutAutoScalingPolicy for usage and error information. See also, https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/PutAutoScalingPolicy

func (*EMR) PutAutoScalingPolicyRequest Uses

func (c *EMR) PutAutoScalingPolicyRequest(input *PutAutoScalingPolicyInput) (req *request.Request, output *PutAutoScalingPolicyOutput)

PutAutoScalingPolicyRequest generates a "aws/request.Request" representing the client's request for the PutAutoScalingPolicy operation. The "output" return value will be populated with the request's response once the request completes successfully.

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

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

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

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

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

See also, https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/PutAutoScalingPolicy

func (*EMR) PutAutoScalingPolicyWithContext Uses

func (c *EMR) PutAutoScalingPolicyWithContext(ctx aws.Context, input *PutAutoScalingPolicyInput, opts ...request.Option) (*PutAutoScalingPolicyOutput, error)

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

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

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

func (*EMR) RemoveAutoScalingPolicy Uses

func (c *EMR) RemoveAutoScalingPolicy(input *RemoveAutoScalingPolicyInput) (*RemoveAutoScalingPolicyOutput, error)

RemoveAutoScalingPolicy API operation for Amazon Elastic MapReduce.

Removes an automatic scaling policy from a specified instance group within an EMR 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 RemoveAutoScalingPolicy for usage and error information. See also, https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/RemoveAutoScalingPolicy

func (*EMR) RemoveAutoScalingPolicyRequest Uses

func (c *EMR) RemoveAutoScalingPolicyRequest(input *RemoveAutoScalingPolicyInput) (req *request.Request, output *RemoveAutoScalingPolicyOutput)

RemoveAutoScalingPolicyRequest generates a "aws/request.Request" representing the client's request for the RemoveAutoScalingPolicy operation. The "output" return value will be populated with the request's response once the request completes successfully.

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

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

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

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

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

See also, https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/RemoveAutoScalingPolicy

func (*EMR) RemoveAutoScalingPolicyWithContext Uses

func (c *EMR) RemoveAutoScalingPolicyWithContext(ctx aws.Context, input *RemoveAutoScalingPolicyInput, opts ...request.Option) (*RemoveAutoScalingPolicyOutput, error)

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

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

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

func (*EMR) RemoveTags Uses

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 Tag Clusters (https://docs.aws.amazon.com/emr/latest/ManagementGuide/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:

* ErrCodeInternalServerException "InternalServerException"
This exception occurs when there is an internal failure in the EMR service.

* ErrCodeInvalidRequestException "InvalidRequestException"
This exception occurs when there is something wrong with user input.

See also, https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/RemoveTags

func (*EMR) RemoveTagsRequest Uses

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 will be populated with the request's response once the request completes successfully.

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

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

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

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

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

See also, https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/RemoveTags

func (*EMR) RemoveTagsWithContext Uses

func (c *EMR) RemoveTagsWithContext(ctx aws.Context, input *RemoveTagsInput, opts ...request.Option) (*RemoveTagsOutput, error)

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

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

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

func (*EMR) RunJobFlow Uses

func (c *EMR) RunJobFlow(input *RunJobFlowInput) (*RunJobFlowOutput, error)

RunJobFlow API operation for Amazon Elastic MapReduce.

RunJobFlow creates and starts running a new cluster (job flow). The cluster runs the steps specified. After the steps complete, the cluster stops 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 JobFlowInstancesConfig KeepJobFlowAliveWhenNoSteps parameter is set to TRUE, the cluster transitions to the WAITING state rather than shutting down after the steps have completed.

For additional protection, you can set the JobFlowInstancesConfig TerminationProtected parameter to TRUE to lock the cluster 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 cluster 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, see Add More than 256 Steps to a Cluster (https://docs.aws.amazon.com/emr/latest/ManagementGuide/AddMoreThan256Steps.html) in the Amazon EMR Management Guide.

For long running clusters, we recommend that you periodically store your results.

The instance fleets configuration is available only in Amazon EMR versions 4.8.0 and later, excluding 5.0.x versions. The RunJobFlow request can contain InstanceFleets parameters or InstanceGroups parameters, but not both.

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:

* ErrCodeInternalServerError "InternalServerError"
Indicates that an error occurred while processing the request and that the
request was not completed.

See also, https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/RunJobFlow

func (*EMR) RunJobFlowRequest Uses

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 will be populated with the request's response once the request completes successfully.

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

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

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

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

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

See also, https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/RunJobFlow

func (*EMR) RunJobFlowWithContext Uses

func (c *EMR) RunJobFlowWithContext(ctx aws.Context, input *RunJobFlowInput, opts ...request.Option) (*RunJobFlowOutput, error)

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

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

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

func (*EMR) SetTerminationProtection Uses

func (c *EMR) SetTerminationProtection(input *SetTerminationProtectionInput) (*SetTerminationProtectionOutput, error)

SetTerminationProtection API operation for Amazon Elastic MapReduce.

SetTerminationProtection locks a cluster (job flow) so the 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 cluster is similar to calling the Amazon EC2 DisableAPITermination API on all EC2 instances in a cluster.

SetTerminationProtection is used to prevent accidental termination of a cluster and to ensure that in the event of an error, the instances persist so that you can recover any data stored in their ephemeral instance storage.

To terminate a cluster 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, seeManaging Cluster Termination (https://docs.aws.amazon.com/emr/latest/ManagementGuide/UsingEMR_TerminationProtection.html) in the Amazon EMR Management 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:

* ErrCodeInternalServerError "InternalServerError"
Indicates that an error occurred while processing the request and that the
request was not completed.

See also, https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/SetTerminationProtection

func (*EMR) SetTerminationProtectionRequest Uses

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 will be populated with the request's response once the request completes successfully.

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

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

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

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

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

See also, https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/SetTerminationProtection

func (*EMR) SetTerminationProtectionWithContext Uses

func (c *EMR) SetTerminationProtectionWithContext(ctx aws.Context, input *SetTerminationProtectionInput, opts ...request.Option) (*SetTerminationProtectionOutput, error)

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

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

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

func (*EMR) SetVisibleToAllUsers Uses

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 clusters (job flows). This action works on running clusters. You can also set the visibility of a cluster when you launch it using the VisibleToAllUsers parameter of RunJobFlow. The SetVisibleToAllUsers action can be called only by an IAM user who created the cluster or the AWS account that owns 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 SetVisibleToAllUsers for usage and error information.

Returned Error Codes:

* ErrCodeInternalServerError "InternalServerError"
Indicates that an error occurred while processing the request and that the
request was not completed.

See also, https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/SetVisibleToAllUsers

func (*EMR) SetVisibleToAllUsersRequest Uses

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 will be populated with the request's response once the request completes successfully.

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

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

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

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

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

See also, https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/SetVisibleToAllUsers

func (*EMR) SetVisibleToAllUsersWithContext Uses

func (c *EMR) SetVisibleToAllUsersWithContext(ctx aws.Context, input *SetVisibleToAllUsersInput, opts ...request.Option) (*SetVisibleToAllUsersOutput, error)

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

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

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

func (*EMR) TerminateJobFlows Uses

func (c *EMR) TerminateJobFlows(input *TerminateJobFlowsInput) (*TerminateJobFlowsOutput, error)

TerminateJobFlows API operation for Amazon Elastic MapReduce.

TerminateJobFlows shuts a list of clusters (job flows) down. When a job flow is shut down, any step not yet completed is canceled and the EC2 instances on which the cluster is running are stopped. Any log files not already saved are uploaded to Amazon S3 if a LogUri was specified when the cluster was created.

The maximum number of clusters allowed is 10. The call to TerminateJobFlows is asynchronous. Depending on the configuration of the cluster, it may take up to 1-5 minutes for the cluster 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:

* ErrCodeInternalServerError "InternalServerError"
Indicates that an error occurred while processing the request and that the
request was not completed.

See also, https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/TerminateJobFlows

func (*EMR) TerminateJobFlowsRequest Uses

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 will be populated with the request's response once the request completes successfully.

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

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

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

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

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

See also, https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/TerminateJobFlows

func (*EMR) TerminateJobFlowsWithContext Uses

func (c *EMR) TerminateJobFlowsWithContext(ctx aws.Context, input *TerminateJobFlowsInput, opts ...request.Option) (*TerminateJobFlowsOutput, error)

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

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

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

func (*EMR) WaitUntilClusterRunning Uses

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 met within the max attempt window, an error will be returned.

func (*EMR) WaitUntilClusterRunningWithContext Uses

func (c *EMR) WaitUntilClusterRunningWithContext(ctx aws.Context, input *DescribeClusterInput, opts ...request.WaiterOption) error

WaitUntilClusterRunningWithContext is an extended version of WaitUntilClusterRunning. With the support for passing in a context and options to configure the Waiter and the underlying request options.

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

func (*EMR) WaitUntilClusterTerminated Uses

func (c *EMR) WaitUntilClusterTerminated(input *DescribeClusterInput) error

WaitUntilClusterTerminated uses the Amazon EMR API operation DescribeCluster to wait for a condition to be met before returning. If the condition is not met within the max attempt window, an error will be returned.

func (*EMR) WaitUntilClusterTerminatedWithContext Uses

func (c *EMR) WaitUntilClusterTerminatedWithContext(ctx aws.Context, input *DescribeClusterInput, opts ...request.WaiterOption) error

WaitUntilClusterTerminatedWithContext is an extended version of WaitUntilClusterTerminated. With the support for passing in a context and options to configure the Waiter and the underlying request options.

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

func (*EMR) WaitUntilStepComplete Uses

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 met within the max attempt window, an error will be returned.

func (*EMR) WaitUntilStepCompleteWithContext Uses

func (c *EMR) WaitUntilStepCompleteWithContext(ctx aws.Context, input *DescribeStepInput, opts ...request.WaiterOption) error

WaitUntilStepCompleteWithContext is an extended version of WaitUntilStepComplete. With the support for passing in a context and options to configure the Waiter and the underlying request options.

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

type EbsBlockDevice Uses

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 Uses

func (s EbsBlockDevice) GoString() string

GoString returns the string representation

func (*EbsBlockDevice) SetDevice Uses

func (s *EbsBlockDevice) SetDevice(v string) *EbsBlockDevice

SetDevice sets the Device field's value.

func (*EbsBlockDevice) SetVolumeSpecification Uses

func (s *EbsBlockDevice) SetVolumeSpecification(v *VolumeSpecification) *EbsBlockDevice

SetVolumeSpecification sets the VolumeSpecification field's value.

func (EbsBlockDevice) String Uses

func (s EbsBlockDevice) String() string

String returns the string representation

type EbsBlockDeviceConfig Uses

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 a 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 Uses

func (s EbsBlockDeviceConfig) GoString() string

GoString returns the string representation

func (*EbsBlockDeviceConfig) SetVolumeSpecification Uses

func (s *EbsBlockDeviceConfig) SetVolumeSpecification(v *VolumeSpecification) *EbsBlockDeviceConfig

SetVolumeSpecification sets the VolumeSpecification field's value.

func (*EbsBlockDeviceConfig) SetVolumesPerInstance Uses

func (s *EbsBlockDeviceConfig) SetVolumesPerInstance(v int64) *EbsBlockDeviceConfig

SetVolumesPerInstance sets the VolumesPerInstance field's value.

func (EbsBlockDeviceConfig) String Uses

func (s EbsBlockDeviceConfig) String() string

String returns the string representation

func (*EbsBlockDeviceConfig) Validate Uses

func (s *EbsBlockDeviceConfig) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type EbsConfiguration Uses

type EbsConfiguration struct {

    // An array of Amazon EBS volume specifications attached to a cluster instance.
    EbsBlockDeviceConfigs []*EbsBlockDeviceConfig `type:"list"`

    // Indicates whether an Amazon EBS volume is EBS-optimized.
    EbsOptimized *bool `type:"boolean"`
    // contains filtered or unexported fields
}

The Amazon EBS configuration of a cluster instance.

func (EbsConfiguration) GoString Uses

func (s EbsConfiguration) GoString() string

GoString returns the string representation

func (*EbsConfiguration) SetEbsBlockDeviceConfigs Uses

func (s *EbsConfiguration) SetEbsBlockDeviceConfigs(v []*EbsBlockDeviceConfig) *EbsConfiguration

SetEbsBlockDeviceConfigs sets the EbsBlockDeviceConfigs field's value.

func (*EbsConfiguration) SetEbsOptimized Uses

func (s *EbsConfiguration) SetEbsOptimized(v bool) *EbsConfiguration

SetEbsOptimized sets the EbsOptimized field's value.

func (EbsConfiguration) String Uses

func (s EbsConfiguration) String() string

String returns the string representation

func (*EbsConfiguration) Validate Uses

func (s *EbsConfiguration) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type EbsVolume Uses

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) GoString Uses

func (s EbsVolume) GoString() string

GoString returns the string representation

func (*EbsVolume) SetDevice Uses

func (s *EbsVolume) SetDevice(v string) *EbsVolume

SetDevice sets the Device field's value.

func (*EbsVolume) SetVolumeId Uses

func (s *EbsVolume) SetVolumeId(v string) *EbsVolume

SetVolumeId sets the VolumeId field's value.

func (EbsVolume) String Uses

func (s EbsVolume) String() string

String returns the string representation

type Ec2InstanceAttributes Uses

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 core and task
    // 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 cluster in Amazon VPC, set this parameter to the identifier
    // of the Amazon VPC subnet where you want the cluster to launch. If you do
    // not specify this value, the cluster 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 cluster 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 core and task nodes.
    EmrManagedSlaveSecurityGroup *string `type:"string"`

    // The IAM role that was specified when the cluster was launched. The EC2 instances
    // of the cluster assume this role.
    IamInstanceProfile *string `type:"string"`

    // Applies to clusters configured with the instance fleets option. Specifies
    // one or more Availability Zones in which to launch EC2 cluster instances when
    // the EC2-Classic network configuration is supported. Amazon EMR chooses the
    // Availability Zone with the best fit from among the list of RequestedEc2AvailabilityZones,
    // and then launches all cluster instances within that Availability Zone. If
    // you do not specify this value, Amazon EMR chooses the Availability Zone for
    // you. RequestedEc2SubnetIDs and RequestedEc2AvailabilityZones cannot be specified
    // together.
    RequestedEc2AvailabilityZones []*string `type:"list"`

    // Applies to clusters configured with the instance fleets option. Specifies
    // the unique identifier of one or more Amazon EC2 subnets in which to launch
    // EC2 cluster instances. Subnets must exist within the same VPC. Amazon EMR
    // chooses the EC2 subnet with the best fit from among the list of RequestedEc2SubnetIds,
    // and then launches all cluster instances within that Subnet. If this value
    // is not specified, and the account and region support EC2-Classic networks,
    // the cluster launches instances in the EC2-Classic network and uses RequestedEc2AvailabilityZones
    // instead of this setting. If EC2-Classic is not supported, and no Subnet is
    // specified, Amazon EMR chooses the subnet for you. RequestedEc2SubnetIDs and
    // RequestedEc2AvailabilityZones cannot be specified together.
    RequestedEc2SubnetIds []*string `type:"list"`

    // 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 Uses

func (s Ec2InstanceAttributes) GoString() string

GoString returns the string representation

func (*Ec2InstanceAttributes) SetAdditionalMasterSecurityGroups Uses

func (s *Ec2InstanceAttributes) SetAdditionalMasterSecurityGroups(v []*string) *Ec2InstanceAttributes

SetAdditionalMasterSecurityGroups sets the AdditionalMasterSecurityGroups field's value.

func (*Ec2InstanceAttributes) SetAdditionalSlaveSecurityGroups Uses

func (s *Ec2InstanceAttributes) SetAdditionalSlaveSecurityGroups(v []*string) *Ec2InstanceAttributes

SetAdditionalSlaveSecurityGroups sets the AdditionalSlaveSecurityGroups field's value.

func (*Ec2InstanceAttributes) SetEc2AvailabilityZone Uses

func (s *Ec2InstanceAttributes) SetEc2AvailabilityZone(v string) *Ec2InstanceAttributes

SetEc2AvailabilityZone sets the Ec2AvailabilityZone field's value.

func (*Ec2InstanceAttributes) SetEc2KeyName Uses

func (s *Ec2InstanceAttributes) SetEc2KeyName(v string) *Ec2InstanceAttributes

SetEc2KeyName sets the Ec2KeyName field's value.

func (*Ec2InstanceAttributes) SetEc2SubnetId Uses

func (s *Ec2InstanceAttributes) SetEc2SubnetId(v string) *Ec2InstanceAttributes

SetEc2SubnetId sets the Ec2SubnetId field's value.

func (*Ec2InstanceAttributes) SetEmrManagedMasterSecurityGroup Uses

func (s *Ec2InstanceAttributes) SetEmrManagedMasterSecurityGroup(v string) *Ec2InstanceAttributes

SetEmrManagedMasterSecurityGroup sets the EmrManagedMasterSecurityGroup field's value.

func (*Ec2InstanceAttributes) SetEmrManagedSlaveSecurityGroup Uses

func (s *Ec2InstanceAttributes) SetEmrManagedSlaveSecurityGroup(v string) *Ec2InstanceAttributes

SetEmrManagedSlaveSecurityGroup sets the EmrManagedSlaveSecurityGroup field's value.

func (*Ec2InstanceAttributes) SetIamInstanceProfile Uses

func (s *Ec2InstanceAttributes) SetIamInstanceProfile(v string) *Ec2InstanceAttributes

SetIamInstanceProfile sets the IamInstanceProfile field's value.

func (*Ec2InstanceAttributes) SetRequestedEc2AvailabilityZones Uses

func (s *Ec2InstanceAttributes) SetRequestedEc2AvailabilityZones(v []*string) *Ec2InstanceAttributes

SetRequestedEc2AvailabilityZones sets the RequestedEc2AvailabilityZones field's value.

func (*Ec2InstanceAttributes) SetRequestedEc2SubnetIds Uses

func (s *Ec2InstanceAttributes) SetRequestedEc2SubnetIds(v []*string) *Ec2InstanceAttributes

SetRequestedEc2SubnetIds sets the RequestedEc2SubnetIds field's value.

func (*Ec2InstanceAttributes) SetServiceAccessSecurityGroup Uses

func (s *Ec2InstanceAttributes) SetServiceAccessSecurityGroup(v string) *Ec2InstanceAttributes

SetServiceAccessSecurityGroup sets the ServiceAccessSecurityGroup field's value.

func (Ec2InstanceAttributes) String Uses

func (s Ec2InstanceAttributes) String() string

String returns the string representation

type FailureDetails Uses

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 Uses

func (s FailureDetails) GoString() string

GoString returns the string representation

func (*FailureDetails) SetLogFile Uses

func (s *FailureDetails) SetLogFile(v string) *FailureDetails

SetLogFile sets the LogFile field's value.

func (*FailureDetails) SetMessage Uses

func (s *FailureDetails) SetMessage(v string) *FailureDetails

SetMessage sets the Message field's value.

func (*FailureDetails) SetReason Uses

func (s *FailureDetails) SetReason(v string) *FailureDetails

SetReason sets the Reason field's value.

func (FailureDetails) String Uses

func (s FailureDetails) String() string

String returns the string representation

type HadoopJarStepConfig Uses

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 Uses

func (s HadoopJarStepConfig) GoString() string

GoString returns the string representation

func (*HadoopJarStepConfig) SetArgs Uses

func (s *HadoopJarStepConfig) SetArgs(v []*string) *HadoopJarStepConfig

SetArgs sets the Args field's value.

func (*HadoopJarStepConfig) SetJar Uses

func (s *HadoopJarStepConfig) SetJar(v string) *HadoopJarStepConfig

SetJar sets the Jar field's value.

func (*HadoopJarStepConfig) SetMainClass Uses

func (s *HadoopJarStepConfig) SetMainClass(v string) *HadoopJarStepConfig

SetMainClass sets the MainClass field's value.

func (*HadoopJarStepConfig) SetProperties Uses

func (s *HadoopJarStepConfig) SetProperties(v []*KeyValue) *HadoopJarStepConfig

SetProperties sets the Properties field's value.

func (HadoopJarStepConfig) String Uses

func (s HadoopJarStepConfig) String() string

String returns the string representation

func (*HadoopJarStepConfig) Validate Uses

func (s *HadoopJarStepConfig) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type HadoopStepConfig Uses

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 Uses

func (s HadoopStepConfig) GoString() string

GoString returns the string representation

func (*HadoopStepConfig) SetArgs Uses

func (s *HadoopStepConfig) SetArgs(v []*string) *HadoopStepConfig

SetArgs sets the Args field's value.

func (*HadoopStepConfig) SetJar Uses

func (s *HadoopStepConfig) SetJar(v string) *HadoopStepConfig

SetJar sets the Jar field's value.

func (*HadoopStepConfig) SetMainClass Uses

func (s *HadoopStepConfig) SetMainClass(v string) *HadoopStepConfig

SetMainClass sets the MainClass field's value.

func (*HadoopStepConfig) SetProperties Uses

func (s *HadoopStepConfig) SetProperties(v map[string]*string) *HadoopStepConfig

SetProperties sets the Properties field's value.

func (HadoopStepConfig) String Uses

func (s HadoopStepConfig) String() string

String returns the string representation

type Instance Uses

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 unique identifier of the instance fleet to which an EC2 instance belongs.
    InstanceFleetId *string `type:"string"`

    // The identifier of the instance group to which this instance belongs.
    InstanceGroupId *string `type:"string"`

    // The EC2 instance type, for example m3.xlarge.
    InstanceType *string `min:"1" type:"string"`

    // The instance purchasing option. Valid values are ON_DEMAND or SPOT.
    Market *string `type:"string" enum:"MarketType"`

    // 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) GoString Uses

func (s Instance) GoString() string

GoString returns the string representation

func (*Instance) SetEbsVolumes Uses

func (s *Instance) SetEbsVolumes(v []*EbsVolume) *Instance

SetEbsVolumes sets the EbsVolumes field's value.

func (*Instance) SetEc2InstanceId Uses

func (s *Instance) SetEc2InstanceId(v string) *Instance

SetEc2InstanceId sets the Ec2InstanceId field's value.

func (*Instance) SetId Uses

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

SetId sets the Id field's value.

func (*Instance) SetInstanceFleetId Uses

func (s *Instance) SetInstanceFleetId(v string) *Instance

SetInstanceFleetId sets the InstanceFleetId field's value.

func (*Instance) SetInstanceGroupId Uses

func (s *Instance) SetInstanceGroupId(v string) *Instance

SetInstanceGroupId sets the InstanceGroupId field's value.

func (*Instance) SetInstanceType Uses

func (s *Instance) SetInstanceType(v string) *Instance

SetInstanceType sets the InstanceType field's value.

func (*Instance) SetMarket Uses

func (s *Instance) SetMarket(v string) *Instance

SetMarket sets the Market field's value.

func (*Instance) SetPrivateDnsName Uses

func (s *Instance) SetPrivateDnsName(v string) *Instance

SetPrivateDnsName sets the PrivateDnsName field's value.

func (*Instance) SetPrivateIpAddress Uses

func (s *Instance) SetPrivateIpAddress(v string) *Instance

SetPrivateIpAddress sets the PrivateIpAddress field's value.

func (*Instance) SetPublicDnsName Uses

func (s *Instance) SetPublicDnsName(v string) *Instance

SetPublicDnsName sets the PublicDnsName field's value.

func (*Instance) SetPublicIpAddress Uses

func (s *Instance) SetPublicIpAddress(v string) *Instance

SetPublicIpAddress sets the PublicIpAddress field's value.

func (*Instance) SetStatus Uses

func (s *Instance) SetStatus(v *InstanceStatus) *Instance

SetStatus sets the Status field's value.

func (Instance) String Uses

func (s Instance) String() string

String returns the string representation

type InstanceFleet Uses

type InstanceFleet struct {

    // The unique identifier of the instance fleet.
    Id  *string `type:"string"`

    // The node type that the instance fleet hosts. Valid values are MASTER, CORE,
    // or TASK.
    InstanceFleetType *string `type:"string" enum:"InstanceFleetType"`

    // The specification for the instance types that comprise an instance fleet.
    // Up to five unique instance specifications may be defined for each instance
    // fleet.
    InstanceTypeSpecifications []*InstanceTypeSpecification `type:"list"`

    // Describes the launch specification for an instance fleet.
    LaunchSpecifications *InstanceFleetProvisioningSpecifications `type:"structure"`

    // A friendly name for the instance fleet.
    Name *string `type:"string"`

    // The number of On-Demand units that have been provisioned for the instance
    // fleet to fulfill TargetOnDemandCapacity. This provisioned capacity might
    // be less than or greater than TargetOnDemandCapacity.
    ProvisionedOnDemandCapacity *int64 `type:"integer"`

    // The number of Spot units that have been provisioned for this instance fleet
    // to fulfill TargetSpotCapacity. This provisioned capacity might be less than
    // or greater than TargetSpotCapacity.
    ProvisionedSpotCapacity *int64 `type:"integer"`

    // The current status of the instance fleet.
    Status *InstanceFleetStatus `type:"structure"`

    // The target capacity of On-Demand units for the instance fleet, which determines
    // how many On-Demand instances to provision. When the instance fleet launches,
    // Amazon EMR tries to provision On-Demand instances as specified by InstanceTypeConfig.
    // Each instance configuration has a specified WeightedCapacity. When an On-Demand
    // instance is provisioned, the WeightedCapacity units count toward the target
    // capacity. Amazon EMR provisions instances until the target capacity is totally
    // fulfilled, even if this results in an overage. For example, if there are
    // 2 units remaining to fulfill capacity, and Amazon EMR can only provision
    // an instance with a WeightedCapacity of 5 units, the instance is provisioned,
    // and the target capacity is exceeded by 3 units. You can use InstanceFleet$ProvisionedOnDemandCapacity
    // to determine the Spot capacity units that have been provisioned for the instance
    // fleet.
    //
    // If not specified or set to 0, only Spot instances are provisioned for the
    // instance fleet using TargetSpotCapacity. At least one of TargetSpotCapacity
    // and TargetOnDemandCapacity should be greater than 0. For a master instance
    // fleet, only one of TargetSpotCapacity and TargetOnDemandCapacity can be specified,
    // and its value must be 1.
    TargetOnDemandCapacity *int64 `type:"integer"`

    // The target capacity of Spot units for the instance fleet, which determines
    // how many Spot instances to provision. When the instance fleet launches, Amazon
    // EMR tries to provision Spot instances as specified by InstanceTypeConfig.
    // Each instance configuration has a specified WeightedCapacity. When a Spot
    // instance is provisioned, the WeightedCapacity units count toward the target
    // capacity. Amazon EMR provisions instances until the target capacity is totally
    // fulfilled, even if this results in an overage. For example, if there are
    // 2 units remaining to fulfill capacity, and Amazon EMR can only provision
    // an instance with a WeightedCapacity of 5 units, the instance is provisioned,
    // and the target capacity is exceeded by 3 units. You can use InstanceFleet$ProvisionedSpotCapacity
    // to determine the Spot capacity units that have been provisioned for the instance
    // fleet.
    //
    // If not specified or set to 0, only On-Demand instances are provisioned for
    // the instance fleet. At least one of TargetSpotCapacity and TargetOnDemandCapacity
    // should be greater than 0. For a master instance fleet, only one of TargetSpotCapacity
    // and TargetOnDemandCapacity can be specified, and its value must be 1.
    TargetSpotCapacity *int64 `type:"integer"`
    // contains filtered or unexported fields
}

Describes an instance fleet, which is a group of EC2 instances that host a particular node type (master, core, or task) in an Amazon EMR cluster. Instance fleets can consist of a mix of instance types and On-Demand and Spot instances, which are provisioned to meet a defined target capacity.

The instance fleet configuration is available only in Amazon EMR versions 4.8.0 and later, excluding 5.0.x versions.

func (InstanceFleet) GoString Uses

func (s InstanceFleet) GoString() string

GoString returns the string representation

func (*InstanceFleet) SetId Uses

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

SetId sets the Id field's value.

func (*InstanceFleet) SetInstanceFleetType Uses

func (s *InstanceFleet) SetInstanceFleetType(v string) *InstanceFleet

SetInstanceFleetType sets the InstanceFleetType field's value.

func (*InstanceFleet) SetInstanceTypeSpecifications Uses

func (s *InstanceFleet) SetInstanceTypeSpecifications(v []*InstanceTypeSpecification) *InstanceFleet

SetInstanceTypeSpecifications sets the InstanceTypeSpecifications field's value.

func (*InstanceFleet) SetLaunchSpecifications Uses

func (s *InstanceFleet) SetLaunchSpecifications(v *InstanceFleetProvisioningSpecifications) *InstanceFleet

SetLaunchSpecifications sets the LaunchSpecifications field's value.

func (*InstanceFleet) SetName Uses

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

SetName sets the Name field's value.

func (*InstanceFleet) SetProvisionedOnDemandCapacity Uses

func (s *InstanceFleet) SetProvisionedOnDemandCapacity(v int64) *InstanceFleet

SetProvisionedOnDemandCapacity sets the ProvisionedOnDemandCapacity field's value.

func (*InstanceFleet) SetProvisionedSpotCapacity Uses

func (s *InstanceFleet) SetProvisionedSpotCapacity(v int64) *InstanceFleet

SetProvisionedSpotCapacity sets the ProvisionedSpotCapacity field's value.

func (*InstanceFleet) SetStatus Uses

func (s *InstanceFleet) SetStatus(v *InstanceFleetStatus) *InstanceFleet

SetStatus sets the Status field's value.

func (*InstanceFleet) SetTargetOnDemandCapacity Uses

func (s *InstanceFleet) SetTargetOnDemandCapacity(v int64) *InstanceFleet

SetTargetOnDemandCapacity sets the TargetOnDemandCapacity field's value.

func (*InstanceFleet) SetTargetSpotCapacity Uses

func (s *InstanceFleet) SetTargetSpotCapacity(v int64) *InstanceFleet

SetTargetSpotCapacity sets the TargetSpotCapacity field's value.

func (InstanceFleet) String Uses

func (s InstanceFleet) String() string

String returns the string representation

type InstanceFleetConfig Uses

type InstanceFleetConfig struct {

    // The node type that the instance fleet hosts. Valid values are MASTER,CORE,and
    // TASK.
    //
    // InstanceFleetType is a required field
    InstanceFleetType *string `type:"string" required:"true" enum:"InstanceFleetType"`

    // The instance type configurations that define the EC2 instances in the instance
    // fleet.
    InstanceTypeConfigs []*InstanceTypeConfig `type:"list"`

    // The launch specification for the instance fleet.
    LaunchSpecifications *InstanceFleetProvisioningSpecifications `type:"structure"`

    // The friendly name of the instance fleet.
    Name *string `type:"string"`

    // The target capacity of On-Demand units for the instance fleet, which determines
    // how many On-Demand instances to provision. When the instance fleet launches,
    // Amazon EMR tries to provision On-Demand instances as specified by InstanceTypeConfig.
    // Each instance configuration has a specified WeightedCapacity. When an On-Demand
    // instance is provisioned, the WeightedCapacity units count toward the target
    // capacity. Amazon EMR provisions instances until the target capacity is totally
    // fulfilled, even if this results in an overage. For example, if there are
    // 2 units remaining to fulfill capacity, and Amazon EMR can only provision
    // an instance with a WeightedCapacity of 5 units, the instance is provisioned,
    // and the target capacity is exceeded by 3 units.
    //
    // If not specified or set to 0, only Spot instances are provisioned for the
    // instance fleet using TargetSpotCapacity. At least one of TargetSpotCapacity
    // and TargetOnDemandCapacity should be greater than 0. For a master instance
    // fleet, only one of TargetSpotCapacity and TargetOnDemandCapacity can be specified,
    // and its value must be 1.
    TargetOnDemandCapacity *int64 `type:"integer"`

    // The target capacity of Spot units for the instance fleet, which determines
    // how many Spot instances to provision. When the instance fleet launches, Amazon
    // EMR tries to provision Spot instances as specified by InstanceTypeConfig.
    // Each instance configuration has a specified WeightedCapacity. When a Spot
    // instance is provisioned, the WeightedCapacity units count toward the target
    // capacity. Amazon EMR provisions instances until the target capacity is totally
    // fulfilled, even if this results in an overage. For example, if there are
    // 2 units remaining to fulfill capacity, and Amazon EMR can only provision
    // an instance with a WeightedCapacity of 5 units, the instance is provisioned,
    // and the target capacity is exceeded by 3 units.
    //
    // If not specified or set to 0, only On-Demand instances are provisioned for
    // the instance fleet. At least one of TargetSpotCapacity and TargetOnDemandCapacity
    // should be greater than 0. For a master instance fleet, only one of TargetSpotCapacity
    // and TargetOnDemandCapacity can be specified, and its value must be 1.
    TargetSpotCapacity *int64 `type:"integer"`
    // contains filtered or unexported fields
}

The configuration that defines an instance fleet.

The instance fleet configuration is available only in Amazon EMR versions 4.8.0 and later, excluding 5.0.x versions.

func (InstanceFleetConfig) GoString Uses

func (s InstanceFleetConfig) GoString() string

GoString returns the string representation

func (*InstanceFleetConfig) SetInstanceFleetType Uses

func (s *InstanceFleetConfig) SetInstanceFleetType(v string) *InstanceFleetConfig

SetInstanceFleetType sets the InstanceFleetType field's value.

func (*InstanceFleetConfig) SetInstanceTypeConfigs Uses

func (s *InstanceFleetConfig) SetInstanceTypeConfigs(v []*InstanceTypeConfig) *InstanceFleetConfig

SetInstanceTypeConfigs sets the InstanceTypeConfigs field's value.

func (*InstanceFleetConfig) SetLaunchSpecifications Uses

func (s *InstanceFleetConfig) SetLaunchSpecifications(v *InstanceFleetProvisioningSpecifications) *InstanceFleetConfig

SetLaunchSpecifications sets the LaunchSpecifications field's value.

func (*InstanceFleetConfig) SetName Uses

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

SetName sets the Name field's value.

func (*InstanceFleetConfig) SetTargetOnDemandCapacity Uses

func (s *InstanceFleetConfig) SetTargetOnDemandCapacity(v int64) *InstanceFleetConfig

SetTargetOnDemandCapacity sets the TargetOnDemandCapacity field's value.

func (*InstanceFleetConfig) SetTargetSpotCapacity Uses

func (s *InstanceFleetConfig) SetTargetSpotCapacity(v int64) *InstanceFleetConfig

SetTargetSpotCapacity sets the TargetSpotCapacity field's value.

func (InstanceFleetConfig) String Uses

func (s InstanceFleetConfig) String() string

String returns the string representation

func (*InstanceFleetConfig) Validate Uses

func (s *InstanceFleetConfig) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type InstanceFleetModifyConfig Uses

type InstanceFleetModifyConfig struct {

    // A unique identifier for the instance fleet.
    //
    // InstanceFleetId is a required field
    InstanceFleetId *string `type:"string" required:"true"`

    // The target capacity of On-Demand units for the instance fleet. For more information
    // see InstanceFleetConfig$TargetOnDemandCapacity.
    TargetOnDemandCapacity *int64 `type:"integer"`

    // The target capacity of Spot units for the instance fleet. For more information,
    // see InstanceFleetConfig$TargetSpotCapacity.
    TargetSpotCapacity *int64 `type:"integer"`
    // contains filtered or unexported fields
}

Configuration parameters for an instance fleet modification request.

The instance fleet configuration is available only in Amazon EMR versions 4.8.0 and later, excluding 5.0.x versions.

func (InstanceFleetModifyConfig) GoString Uses

func (s InstanceFleetModifyConfig) GoString() string

GoString returns the string representation

func (*InstanceFleetModifyConfig) SetInstanceFleetId Uses

func (s *InstanceFleetModifyConfig) SetInstanceFleetId(v string) *InstanceFleetModifyConfig

SetInstanceFleetId sets the InstanceFleetId field's value.

func (*InstanceFleetModifyConfig) SetTargetOnDemandCapacity Uses

func (s *InstanceFleetModifyConfig) SetTargetOnDemandCapacity(v int64) *InstanceFleetModifyConfig

SetTargetOnDemandCapacity sets the TargetOnDemandCapacity field's value.

func (*InstanceFleetModifyConfig) SetTargetSpotCapacity Uses

func (s *InstanceFleetModifyConfig) SetTargetSpotCapacity(v int64) *InstanceFleetModifyConfig

SetTargetSpotCapacity sets the TargetSpotCapacity field's value.

func (InstanceFleetModifyConfig) String Uses

func (s InstanceFleetModifyConfig) String() string

String returns the string representation

func (*InstanceFleetModifyConfig) Validate Uses

func (s *InstanceFleetModifyConfig) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type InstanceFleetProvisioningSpecifications Uses

type InstanceFleetProvisioningSpecifications struct {

    // The launch specification for Spot instances in the fleet, which determines
    // the defined duration and provisioning timeout behavior.
    //
    // SpotSpecification is a required field
    SpotSpecification *SpotProvisioningSpecification `type:"structure" required:"true"`
    // contains filtered or unexported fields
}

The launch specification for Spot instances in the fleet, which determines the defined duration and provisioning timeout behavior.

The instance fleet configuration is available only in Amazon EMR versions 4.8.0 and later, excluding 5.0.x versions.

func (InstanceFleetProvisioningSpecifications) GoString Uses

func (s InstanceFleetProvisioningSpecifications) GoString() string

GoString returns the string representation

func (*InstanceFleetProvisioningSpecifications) SetSpotSpecification Uses

func (s *InstanceFleetProvisioningSpecifications) SetSpotSpecification(v *SpotProvisioningSpecification) *InstanceFleetProvisioningSpecifications

SetSpotSpecification sets the SpotSpecification field's value.

func (InstanceFleetProvisioningSpecifications) String Uses

func (s InstanceFleetProvisioningSpecifications) String() string

String returns the string representation

func (*InstanceFleetProvisioningSpecifications) Validate Uses

func (s *InstanceFleetProvisioningSpecifications) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type InstanceFleetStateChangeReason Uses

type InstanceFleetStateChangeReason struct {

    // A code corresponding to the reason the state change occurred.
    Code *string `type:"string" enum:"InstanceFleetStateChangeReasonCode"`

    // An explanatory message.
    Message *string `type:"string"`
    // contains filtered or unexported fields
}

Provides status change reason details for the instance fleet.

The instance fleet configuration is available only in Amazon EMR versions 4.8.0 and later, excluding 5.0.x versions.

func (InstanceFleetStateChangeReason) GoString Uses

func (s InstanceFleetStateChangeReason) GoString() string

GoString returns the string representation

func (*InstanceFleetStateChangeReason) SetCode Uses

func (s *InstanceFleetStateChangeReason) SetCode(v string) *InstanceFleetStateChangeReason

SetCode sets the Code field's value.

func (*InstanceFleetStateChangeReason) SetMessage Uses

func (s *InstanceFleetStateChangeReason) SetMessage(v string) *InstanceFleetStateChangeReason

SetMessage sets the Message field's value.

func (InstanceFleetStateChangeReason) String Uses

func (s InstanceFleetStateChangeReason) String() string

String returns the string representation

type InstanceFleetStatus Uses

type InstanceFleetStatus struct {

    // A code representing the instance fleet status.
    //
    //    * PROVISIONING—The instance fleet is provisioning EC2 resources and
    //    is not yet ready to run jobs.
    //
    //    * BOOTSTRAPPING—EC2 instances and other resources have been provisioned
    //    and the bootstrap actions specified for the instances are underway.
    //
    //    * RUNNING—EC2 instances and other resources are running. They are either
    //    executing jobs or waiting to execute jobs.
    //
    //    * RESIZING—A resize operation is underway. EC2 instances are either
    //    being added or removed.
    //
    //    * SUSPENDED—A resize operation could not complete. Existing EC2 instances
    //    are running, but instances can't be added or removed.
    //
    //    * TERMINATING—The instance fleet is terminating EC2 instances.
    //
    //    * TERMINATED—The instance fleet is no longer active, and all EC2 instances
    //    have been terminated.
    State *string `type:"string" enum:"InstanceFleetState"`

    // Provides status change reason details for the instance fleet.
    StateChangeReason *InstanceFleetStateChangeReason `type:"structure"`

    // Provides historical timestamps for the instance fleet, including the time
    // of creation, the time it became ready to run jobs, and the time of termination.
    Timeline *InstanceFleetTimeline `type:"structure"`
    // contains filtered or unexported fields
}

The status of the instance fleet.

The instance fleet configuration is available only in Amazon EMR versions 4.8.0 and later, excluding 5.0.x versions.

func (InstanceFleetStatus) GoString Uses

func (s InstanceFleetStatus) GoString() string

GoString returns the string representation

func (*InstanceFleetStatus) SetState Uses

func (s *InstanceFleetStatus) SetState(v string) *InstanceFleetStatus

SetState sets the State field's value.

func (*InstanceFleetStatus) SetStateChangeReason Uses

func (s *InstanceFleetStatus) SetStateChangeReason(v *InstanceFleetStateChangeReason) *InstanceFleetStatus

SetStateChangeReason sets the StateChangeReason field's value.

func (*InstanceFleetStatus) SetTimeline Uses

func (s *InstanceFleetStatus) SetTimeline(v *InstanceFleetTimeline) *InstanceFleetStatus

SetTimeline sets the Timeline field's value.

func (InstanceFleetStatus) String Uses

func (s InstanceFleetStatus) String() string

String returns the string representation

type InstanceFleetTimeline Uses

type InstanceFleetTimeline struct {

    // The time and date the instance fleet was created.
    CreationDateTime *time.Time `type:"timestamp"`

    // The time and date the instance fleet terminated.
    EndDateTime *time.Time `type:"timestamp"`

    // The time and date the instance fleet was ready to run jobs.
    ReadyDateTime *time.Time `type:"timestamp"`
    // contains filtered or unexported fields
}

Provides historical timestamps for the instance fleet, including the time of creation, the time it became ready to run jobs, and the time of termination.

The instance fleet configuration is available only in Amazon EMR versions 4.8.0 and later, excluding 5.0.x versions.

func (InstanceFleetTimeline) GoString Uses

func (s InstanceFleetTimeline) GoString() string

GoString returns the string representation

func (*InstanceFleetTimeline) SetCreationDateTime Uses

func (s *InstanceFleetTimeline) SetCreationDateTime(v time.Time) *InstanceFleetTimeline

SetCreationDateTime sets the CreationDateTime field's value.

func (*InstanceFleetTimeline) SetEndDateTime Uses

func (s *InstanceFleetTimeline) SetEndDateTime(v time.Time) *InstanceFleetTimeline

SetEndDateTime sets the EndDateTime field's value.

func (*InstanceFleetTimeline) SetReadyDateTime Uses

func (s *InstanceFleetTimeline) SetReadyDateTime(v time.Time) *InstanceFleetTimeline

SetReadyDateTime sets the ReadyDateTime field's value.

func (InstanceFleetTimeline) String Uses

func (s InstanceFleetTimeline) String() string

String returns the string representation

type InstanceGroup Uses

type InstanceGroup struct {

    // An automatic scaling policy for a core instance group or task instance group
    // in an Amazon EMR cluster. The automatic scaling policy defines how an instance
    // group dynamically adds and terminates EC2 instances in response to the value
    // of a CloudWatch metric. See PutAutoScalingPolicy.
    AutoScalingPolicy *AutoScalingPolicyDescription `type:"structure"`

    // The maximum Spot price your are willing to pay for EC2 instances.
    //
    // An optional, nullable field that applies if the MarketType for the instance
    // group is specified as SPOT. Specify the maximum spot price in USD. If the
    // value is NULL and SPOT is specified, the maximum Spot price is set equal
    // to the On-Demand price.
    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 version number of the requested configuration specification for this
    // instance group.
    ConfigurationsVersion *int64 `type:"long"`

    // 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"`

    // A list of configurations that were successfully applied for an instance group
    // last time.
    LastSuccessfullyAppliedConfigurations []*Configuration `type:"list"`

    // The version number of a configuration specification that was successfully
    // applied for an instance group last time.
    LastSuccessfullyAppliedConfigurationsVersion *int64 `type:"long"`

    // 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 Uses

func (s InstanceGroup) GoString() string

GoString returns the string representation

func (*InstanceGroup) SetAutoScalingPolicy Uses

func (s *InstanceGroup) SetAutoScalingPolicy(v *AutoScalingPolicyDescription) *InstanceGroup

SetAutoScalingPolicy sets the AutoScalingPolicy field's value.

func (*InstanceGroup) SetBidPrice Uses

func (s *InstanceGroup) SetBidPrice(v string) *InstanceGroup

SetBidPrice sets the BidPrice field's value.

func (*InstanceGroup) SetConfigurations Uses

func (s *InstanceGroup) SetConfigurations(v []*Configuration) *InstanceGroup

SetConfigurations sets the Configurations field's value.

func (*InstanceGroup) SetConfigurationsVersion Uses

func (s *InstanceGroup) SetConfigurationsVersion(v int64) *InstanceGroup

SetConfigurationsVersion sets the ConfigurationsVersion field's value.

func (*InstanceGroup) SetEbsBlockDevices Uses

func (s *InstanceGroup) SetEbsBlockDevices(v []*EbsBlockDevice) *InstanceGroup

SetEbsBlockDevices sets the EbsBlockDevices field's value.

func (*InstanceGroup) SetEbsOptimized Uses

func (s *InstanceGroup) SetEbsOptimized(v bool) *InstanceGroup

SetEbsOptimized sets the EbsOptimized field's value.

func (*InstanceGroup) SetId Uses

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

SetId sets the Id field's value.

func (*InstanceGroup) SetInstanceGroupType Uses

func (s *InstanceGroup) SetInstanceGroupType(v string) *InstanceGroup

SetInstanceGroupType sets the InstanceGroupType field's value.

func (*InstanceGroup) SetInstanceType Uses

func (s *InstanceGroup) SetInstanceType(v string) *InstanceGroup

SetInstanceType sets the InstanceType field's value.

func (*InstanceGroup) SetLastSuccessfullyAppliedConfigurations Uses

func (s *InstanceGroup) SetLastSuccessfullyAppliedConfigurations(v []*Configuration) *InstanceGroup

SetLastSuccessfullyAppliedConfigurations sets the LastSuccessfullyAppliedConfigurations field's value.

func (*InstanceGroup) SetLastSuccessfullyAppliedConfigurationsVersion Uses

func (s *InstanceGroup) SetLastSuccessfullyAppliedConfigurationsVersion(v int64) *InstanceGroup

SetLastSuccessfullyAppliedConfigurationsVersion sets the LastSuccessfullyAppliedConfigurationsVersion field's value.

func (*InstanceGroup) SetMarket Uses

func (s *InstanceGroup) SetMarket(v string) *InstanceGroup

SetMarket sets the Market field's value.

func (*InstanceGroup) SetName Uses

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

SetName sets the Name field's value.

func (*InstanceGroup) SetRequestedInstanceCount Uses

func (s *InstanceGroup) SetRequestedInstanceCount(v int64) *InstanceGroup

SetRequestedInstanceCount sets the RequestedInstanceCount field's value.

func (*InstanceGroup) SetRunningInstanceCount Uses

func (s *InstanceGroup) SetRunningInstanceCount(v int64) *InstanceGroup

SetRunningInstanceCount sets the RunningInstanceCount field's value.

func (*InstanceGroup) SetShrinkPolicy Uses

func (s *InstanceGroup) SetShrinkPolicy(v *ShrinkPolicy) *InstanceGroup

SetShrinkPolicy sets the ShrinkPolicy field's value.

func (*InstanceGroup) SetStatus Uses

func (s *InstanceGroup) SetStatus(v *InstanceGroupStatus) *InstanceGroup

SetStatus sets the Status field's value.

func (InstanceGroup) String Uses

func (s InstanceGroup) String() string

String returns the string representation

type InstanceGroupConfig Uses

type InstanceGroupConfig struct {

    // An automatic scaling policy for a core instance group or task instance group
    // in an Amazon EMR cluster. The automatic scaling policy defines how an instance
    // group dynamically adds and terminates EC2 instances in response to the value
    // of a CloudWatch metric. See PutAutoScalingPolicy.
    AutoScalingPolicy *AutoScalingPolicy `type:"structure"`

    // The maximum Spot price your are willing to pay for EC2 instances.
    //
    // An optional, nullable field that applies if the MarketType for the instance
    // group is specified as SPOT. Specify the maximum spot price in USD. If the
    // value is NULL and SPOT is specified, the maximum Spot price is set equal
    // to the On-Demand price.
    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 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 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 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 Uses

func (s InstanceGroupConfig) GoString() string

GoString returns the string representation

func (*InstanceGroupConfig) SetAutoScalingPolicy Uses

func (s *InstanceGroupConfig) SetAutoScalingPolicy(v *AutoScalingPolicy) *InstanceGroupConfig

SetAutoScalingPolicy sets the AutoScalingPolicy field's value.

func (*InstanceGroupConfig) SetBidPrice Uses

func (s *InstanceGroupConfig) SetBidPrice(v string) *InstanceGroupConfig

SetBidPrice sets the BidPrice field's value.

func (*InstanceGroupConfig) SetConfigurations Uses

func (s *InstanceGroupConfig) SetConfigurations(v []*Configuration) *InstanceGroupConfig

SetConfigurations sets the Configurations field's value.

func (*InstanceGroupConfig) SetEbsConfiguration Uses

func (s *InstanceGroupConfig) SetEbsConfiguration(v *EbsConfiguration) *InstanceGroupConfig

SetEbsConfiguration sets the EbsConfiguration field's value.

func (*InstanceGroupConfig) SetInstanceCount Uses

func (s *InstanceGroupConfig) SetInstanceCount(v int64) *InstanceGroupConfig

SetInstanceCount sets the InstanceCount field's value.

func (*InstanceGroupConfig) SetInstanceRole Uses

func (s *InstanceGroupConfig) SetInstanceRole(v string) *InstanceGroupConfig

SetInstanceRole sets the InstanceRole field's value.

func (*InstanceGroupConfig) SetInstanceType Uses

func (s *InstanceGroupConfig) SetInstanceType(v string) *InstanceGroupConfig

SetInstanceType sets the InstanceType field's value.

func (*InstanceGroupConfig) SetMarket Uses

func (s *InstanceGroupConfig) SetMarket(v string) *InstanceGroupConfig

SetMarket sets the Market field's value.

func (*InstanceGroupConfig) SetName Uses

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

SetName sets the Name field's value.

func (InstanceGroupConfig) String Uses

func (s InstanceGroupConfig) String() string

String returns the string representation

func (*InstanceGroupConfig) Validate Uses

func (s *InstanceGroupConfig) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type InstanceGroupDetail Uses

type InstanceGroupDetail struct {

    // The maximum Spot price your are willing to pay for EC2 instances.
    //
    // An optional, nullable field that applies if the MarketType for the instance
    // group is specified as SPOT. Specified in USD. If the value is NULL and SPOT
    // is specified, the maximum Spot price is set equal to the On-Demand price.
    BidPrice *string `type:"string"`

    // The date/time the instance group was created.
    //
    // CreationDateTime is a required field
    CreationDateTime *time.Time `type:"timestamp" required:"true"`

    // The date/time the instance group was terminated.
    EndDateTime *time.Time `type:"timestamp"`

    // 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"`

    // 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 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"`

    // The date/time the instance group was started.
    StartDateTime *time.Time `type:"timestamp"`

    // 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 Uses

func (s InstanceGroupDetail) GoString() string

GoString returns the string representation

func (*InstanceGroupDetail) SetBidPrice Uses

func (s *InstanceGroupDetail) SetBidPrice(v string) *InstanceGroupDetail

SetBidPrice sets the BidPrice field's value.

func (*InstanceGroupDetail) SetCreationDateTime Uses

func (s *InstanceGroupDetail) SetCreationDateTime(v time.Time) *InstanceGroupDetail

SetCreationDateTime sets the CreationDateTime field's value.

func (*InstanceGroupDetail) SetEndDateTime Uses

func (s *InstanceGroupDetail) SetEndDateTime(v time.Time) *InstanceGroupDetail

SetEndDateTime sets the EndDateTime field's value.

func (*InstanceGroupDetail) SetInstanceGroupId Uses

func (s *InstanceGroupDetail) SetInstanceGroupId(v string) *InstanceGroupDetail

SetInstanceGroupId sets the InstanceGroupId field's value.

func (*InstanceGroupDetail) SetInstanceRequestCount Uses

func (s *InstanceGroupDetail) SetInstanceRequestCount(v int64) *InstanceGroupDetail

SetInstanceRequestCount sets the InstanceRequestCount field's value.

func (*InstanceGroupDetail) SetInstanceRole Uses

func (s *InstanceGroupDetail) SetInstanceRole(v string) *InstanceGroupDetail

SetInstanceRole sets the InstanceRole field's value.

func (*InstanceGroupDetail) SetInstanceRunningCount Uses

func (s *InstanceGroupDetail) SetInstanceRunningCount(v int64) *InstanceGroupDetail

SetInstanceRunningCount sets the InstanceRunningCount field's value.

func (*InstanceGroupDetail) SetInstanceType Uses

func (s *InstanceGroupDetail) SetInstanceType(v string) *InstanceGroupDetail

SetInstanceType sets the InstanceType field's value.

func (*InstanceGroupDetail) SetLastStateChangeReason Uses

func (s *InstanceGroupDetail) SetLastStateChangeReason(v string) *InstanceGroupDetail

SetLastStateChangeReason sets the LastStateChangeReason field's value.

func (*InstanceGroupDetail) SetMarket Uses

func (s *InstanceGroupDetail) SetMarket(v string) *InstanceGroupDetail

SetMarket sets the Market field's value.

func (*InstanceGroupDetail) SetName Uses

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

SetName sets the Name field's value.

func (*InstanceGroupDetail) SetReadyDateTime Uses

func (s *InstanceGroupDetail) SetReadyDateTime(v time.Time) *InstanceGroupDetail

SetReadyDateTime sets the ReadyDateTime field's value.

func (*InstanceGroupDetail) SetStartDateTime Uses

func (s *InstanceGroupDetail) SetStartDateTime(v time.Time) *InstanceGroupDetail

SetStartDateTime sets the StartDateTime field's value.

func (*InstanceGroupDetail) SetState Uses

func (s *InstanceGroupDetail) SetState(v string) *InstanceGroupDetail

SetState sets the State field's value.

func (InstanceGroupDetail) String Uses

func (s InstanceGroupDetail) String() string

String returns the string representation

type InstanceGroupModifyConfig Uses

type InstanceGroupModifyConfig struct {

    // A list of new or modified configurations to apply for an instance group.
    Configurations []*Configuration `type:"list"`

    // The EC2 InstanceIds to terminate. After 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 the size or configurations of an instance group.

func (InstanceGroupModifyConfig) GoString Uses

func (s InstanceGroupModifyConfig) GoString() string

GoString returns the string representation

func (*InstanceGroupModifyConfig) SetConfigurations Uses

func (s *InstanceGroupModifyConfig) SetConfigurations(v []*Configuration) *InstanceGroupModifyConfig

SetConfigurations sets the Configurations field's value.

func (*InstanceGroupModifyConfig) SetEC2InstanceIdsToTerminate Uses

func (s *InstanceGroupModifyConfig) SetEC2InstanceIdsToTerminate(v []*string) *InstanceGroupModifyConfig

SetEC2InstanceIdsToTerminate sets the EC2InstanceIdsToTerminate field's value.

func (*InstanceGroupModifyConfig) SetInstanceCount Uses

func (s *InstanceGroupModifyConfig) SetInstanceCount(v int64) *InstanceGroupModifyConfig

SetInstanceCount sets the InstanceCount field's value.

func (*InstanceGroupModifyConfig) SetInstanceGroupId Uses

func (s *InstanceGroupModifyConfig) SetInstanceGroupId(v string) *InstanceGroupModifyConfig

SetInstanceGroupId sets the InstanceGroupId field's value.

func (*InstanceGroupModifyConfig) SetShrinkPolicy Uses

func (s *InstanceGroupModifyConfig) SetShrinkPolicy(v *ShrinkPolicy) *InstanceGroupModifyConfig

SetShrinkPolicy sets the ShrinkPolicy field's value.

func (InstanceGroupModifyConfig) String Uses

func (s InstanceGroupModifyConfig) String() string

String returns the string representation

func (*InstanceGroupModifyConfig) Validate Uses

func (s *InstanceGroupModifyConfig) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type InstanceGroupStateChangeReason Uses

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 Uses

func (s InstanceGroupStateChangeReason) GoString() string

GoString returns the string representation

func (*InstanceGroupStateChangeReason) SetCode Uses

func (s *InstanceGroupStateChangeReason) SetCode(v string) *InstanceGroupStateChangeReason

SetCode sets the Code field's value.

func (*InstanceGroupStateChangeReason) SetMessage Uses

func (s *InstanceGroupStateChangeReason) SetMessage(v string) *InstanceGroupStateChangeReason

SetMessage sets the Message field's value.

func (InstanceGroupStateChangeReason) String Uses

func (s InstanceGroupStateChangeReason) String() string

String returns the string representation

type InstanceGroupStatus Uses

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 Uses

func (s InstanceGroupStatus) GoString() string

GoString returns the string representation

func (*InstanceGroupStatus) SetState Uses

func (s *InstanceGroupStatus) SetState(v string) *InstanceGroupStatus

SetState sets the State field's value.

func (*InstanceGroupStatus) SetStateChangeReason Uses

func (s *InstanceGroupStatus) SetStateChangeReason(v *InstanceGroupStateChangeReason) *InstanceGroupStatus

SetStateChangeReason sets the StateChangeReason field's value.

func (*InstanceGroupStatus) SetTimeline Uses

func (s *InstanceGroupStatus) SetTimeline(v *InstanceGroupTimeline) *InstanceGroupStatus

SetTimeline sets the Timeline field's value.

func (InstanceGroupStatus) String Uses

func (s InstanceGroupStatus) String() string

String returns the string representation

type InstanceGroupTimeline Uses

type InstanceGroupTimeline struct {

    // The creation date and time of the instance group.
    CreationDateTime *time.Time `type:"timestamp"`

    // The date and time when the instance group terminated.
    EndDateTime *time.Time `type:"timestamp"`

    // The date and time when the instance group became ready to perform tasks.
    ReadyDateTime *time.Time `type:"timestamp"`
    // contains filtered or unexported fields
}

The timeline of the instance group lifecycle.

func (InstanceGroupTimeline) GoString Uses

func (s InstanceGroupTimeline) GoString() string

GoString returns the string representation

func (*InstanceGroupTimeline) SetCreationDateTime Uses

func (s *InstanceGroupTimeline) SetCreationDateTime(v time.Time) *InstanceGroupTimeline

SetCreationDateTime sets the CreationDateTime field's value.

func (*InstanceGroupTimeline) SetEndDateTime Uses

func (s *InstanceGroupTimeline) SetEndDateTime(v time.Time) *InstanceGroupTimeline

SetEndDateTime sets the EndDateTime field's value.

func (*InstanceGroupTimeline) SetReadyDateTime Uses

func (s *InstanceGroupTimeline) SetReadyDateTime(v time.Time) *InstanceGroupTimeline

SetReadyDateTime sets the ReadyDateTime field's value.

func (InstanceGroupTimeline) String Uses

func (s InstanceGroupTimeline) String() string

String returns the string representation

type InstanceResizePolicy Uses

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 Uses

func (s InstanceResizePolicy) GoString() string

GoString returns the string representation

func (*InstanceResizePolicy) SetInstanceTerminationTimeout Uses

func (s *InstanceResizePolicy) SetInstanceTerminationTimeout(v int64) *InstanceResizePolicy

SetInstanceTerminationTimeout sets the InstanceTerminationTimeout field's value.

func (*InstanceResizePolicy) SetInstancesToProtect Uses

func (s *InstanceResizePolicy) SetInstancesToProtect(v []*string) *InstanceResizePolicy

SetInstancesToProtect sets the InstancesToProtect field's value.

func (*InstanceResizePolicy) SetInstancesToTerminate Uses

func (s *InstanceResizePolicy) SetInstancesToTerminate(v []*string) *InstanceResizePolicy

SetInstancesToTerminate sets the InstancesToTerminate field's value.

func (InstanceResizePolicy) String Uses

func (s InstanceResizePolicy) String() string

String returns the string representation

type InstanceStateChangeReason Uses

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 Uses

func (s InstanceStateChangeReason) GoString() string

GoString returns the string representation

func (*InstanceStateChangeReason) SetCode Uses

func (s *InstanceStateChangeReason) SetCode(v string) *InstanceStateChangeReason

SetCode sets the Code field's value.

func (*InstanceStateChangeReason) SetMessage Uses

func (s *InstanceStateChangeReason) SetMessage(v string) *InstanceStateChangeReason

SetMessage sets the Message field's value.

func (InstanceStateChangeReason) String Uses

func (s InstanceStateChangeReason) String() string

String returns the string representation

type InstanceStatus Uses

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 Uses

func (s InstanceStatus) GoString() string

GoString returns the string representation

func (*InstanceStatus) SetState Uses

func (s *InstanceStatus) SetState(v string) *InstanceStatus

SetState sets the State field's value.

func (*InstanceStatus) SetStateChangeReason Uses

func (s *InstanceStatus) SetStateChangeReason(v *InstanceStateChangeReason) *InstanceStatus

SetStateChangeReason sets the StateChangeReason field's value.

func (*InstanceStatus) SetTimeline Uses

func (s *InstanceStatus) SetTimeline(v *InstanceTimeline) *InstanceStatus

SetTimeline sets the Timeline field's value.

func (InstanceStatus) String Uses

func (s InstanceStatus) String() string

String returns the string representation

type InstanceTimeline Uses

type InstanceTimeline struct {

    // The creation date and time of the instance.
    CreationDateTime *time.Time `type:"timestamp"`

    // The date and time when the instance was terminated.
    EndDateTime *time.Time `type:"timestamp"`

    // The date and time when the instance was ready to perform tasks.
    ReadyDateTime *time.Time `type:"timestamp"`
    // contains filtered or unexported fields
}

The timeline of the instance lifecycle.

func (InstanceTimeline) GoString Uses

func (s InstanceTimeline) GoString() string

GoString returns the string representation

func (*InstanceTimeline) SetCreationDateTime Uses

func (s *InstanceTimeline) SetCreationDateTime(v time.Time) *InstanceTimeline

SetCreationDateTime sets the CreationDateTime field's value.

func (*InstanceTimeline) SetEndDateTime Uses

func (s *InstanceTimeline) SetEndDateTime(v time.Time) *InstanceTimeline

SetEndDateTime sets the EndDateTime field's value.

func (*InstanceTimeline) SetReadyDateTime Uses

func (s *InstanceTimeline) SetReadyDateTime(v time.Time) *InstanceTimeline

SetReadyDateTime sets the ReadyDateTime field's value.

func (InstanceTimeline) String Uses

func (s InstanceTimeline) String() string

String returns the string representation

type InstanceTypeConfig Uses

type InstanceTypeConfig struct {

    // The bid price for each EC2 Spot instance type as defined by InstanceType.
    // Expressed in USD. If neither BidPrice nor BidPriceAsPercentageOfOnDemandPrice
    // is provided, BidPriceAsPercentageOfOnDemandPrice defaults to 100%.
    BidPrice *string `type:"string"`

    // The bid price, as a percentage of On-Demand price, for each EC2 Spot instance
    // as defined by InstanceType. Expressed as a number (for example, 20 specifies
    // 20%). If neither BidPrice nor BidPriceAsPercentageOfOnDemandPrice is provided,
    // BidPriceAsPercentageOfOnDemandPrice defaults to 100%.
    BidPriceAsPercentageOfOnDemandPrice *float64 `type:"double"`

    // A configuration classification that applies when provisioning cluster instances,
    // which can include configurations for applications and software that run on
    // the cluster.
    Configurations []*Configuration `type:"list"`

    // The configuration of Amazon Elastic Block Storage (EBS) attached to each
    // instance as defined by InstanceType.
    EbsConfiguration *EbsConfiguration `type:"structure"`

    // An EC2 instance type, such as m3.xlarge.
    //
    // InstanceType is a required field
    InstanceType *string `min:"1" type:"string" required:"true"`

    // The number of units that a provisioned instance of this type provides toward
    // fulfilling the target capacities defined in InstanceFleetConfig. This value
    // is 1 for a master instance fleet, and must be 1 or greater for core and task
    // instance fleets. Defaults to 1 if not specified.
    WeightedCapacity *int64 `type:"integer"`
    // contains filtered or unexported fields
}

An instance type configuration for each instance type in an instance fleet, which determines the EC2 instances Amazon EMR attempts to provision to fulfill On-Demand and Spot target capacities. There can be a maximum of 5 instance type configurations in a fleet.

The instance fleet configuration is available only in Amazon EMR versions 4.8.0 and later, excluding 5.0.x versions.

func (InstanceTypeConfig) GoString Uses

func (s InstanceTypeConfig) GoString() string

GoString returns the string representation

func (*InstanceTypeConfig) SetBidPrice Uses

func (s *InstanceTypeConfig) SetBidPrice(v string) *InstanceTypeConfig

SetBidPrice sets the BidPrice field's value.

func (*InstanceTypeConfig) SetBidPriceAsPercentageOfOnDemandPrice Uses

func (s *InstanceTypeConfig) SetBidPriceAsPercentageOfOnDemandPrice(v float64) *InstanceTypeConfig

SetBidPriceAsPercentageOfOnDemandPrice sets the BidPriceAsPercentageOfOnDemandPrice field's value.

func (*InstanceTypeConfig) SetConfigurations Uses

func (s *InstanceTypeConfig) SetConfigurations(v []*Configuration) *InstanceTypeConfig

SetConfigurations sets the Configurations field's value.

func (*InstanceTypeConfig) SetEbsConfiguration Uses

func (s *InstanceTypeConfig) SetEbsConfiguration(v *EbsConfiguration) *InstanceTypeConfig

SetEbsConfiguration sets the EbsConfiguration field's value.

func (*InstanceTypeConfig) SetInstanceType Uses

func (s *InstanceTypeConfig) SetInstanceType(v string) *InstanceTypeConfig

SetInstanceType sets the InstanceType field's value.

func (*InstanceTypeConfig) SetWeightedCapacity Uses

func (s *InstanceTypeConfig) SetWeightedCapacity(v int64) *InstanceTypeConfig

SetWeightedCapacity sets the WeightedCapacity field's value.

func (InstanceTypeConfig) String Uses

func (s InstanceTypeConfig) String() string

String returns the string representation

func (*InstanceTypeConfig) Validate Uses

func (s *InstanceTypeConfig) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type InstanceTypeSpecification Uses

type InstanceTypeSpecification struct {

    // The bid price for each EC2 Spot instance type as defined by InstanceType.
    // Expressed in USD.
    BidPrice *string `type:"string"`

    // The bid price, as a percentage of On-Demand price, for each EC2 Spot instance
    // as defined by InstanceType. Expressed as a number (for example, 20 specifies
    // 20%).
    BidPriceAsPercentageOfOnDemandPrice *float64 `type:"double"`

    // A configuration classification that applies when provisioning cluster instances,
    // which can include configurations for applications and software bundled with
    // Amazon EMR.
    Configurations []*Configuration `type:"list"`

    // The configuration of Amazon Elastic Block Storage (EBS) attached to each
    // instance as defined by InstanceType.
    EbsBlockDevices []*EbsBlockDevice `type:"list"`

    // Evaluates to TRUE when the specified InstanceType is EBS-optimized.
    EbsOptimized *bool `type:"boolean"`

    // The EC2 instance type, for example m3.xlarge.
    InstanceType *string `min:"1" type:"string"`

    // The number of units that a provisioned instance of this type provides toward
    // fulfilling the target capacities defined in InstanceFleetConfig. Capacity
    // values represent performance characteristics such as vCPUs, memory, or I/O.
    // If not specified, the default value is 1.
    WeightedCapacity *int64 `type:"integer"`
    // contains filtered or unexported fields
}

The configuration specification for each instance type in an instance fleet.

The instance fleet configuration is available only in Amazon EMR versions 4.8.0 and later, excluding 5.0.x versions.

func (InstanceTypeSpecification) GoString Uses

func (s InstanceTypeSpecification) GoString() string

GoString returns the string representation

func (*InstanceTypeSpecification) SetBidPrice Uses

func (s *InstanceTypeSpecification) SetBidPrice(v string) *InstanceTypeSpecification

SetBidPrice sets the BidPrice field's value.

func (*InstanceTypeSpecification) SetBidPriceAsPercentageOfOnDemandPrice Uses

func (s *InstanceTypeSpecification) SetBidPriceAsPercentageOfOnDemandPrice(v float64) *InstanceTypeSpecification

SetBidPriceAsPercentageOfOnDemandPrice sets the BidPriceAsPercentageOfOnDemandPrice field's value.

func (*InstanceTypeSpecification) SetConfigurations Uses

func (s *InstanceTypeSpecification) SetConfigurations(v []*Configuration) *InstanceTypeSpecification

SetConfigurations sets the Configurations field's value.

func (*InstanceTypeSpecification) SetEbsBlockDevices Uses

func (s *InstanceTypeSpecification) SetEbsBlockDevices(v []*EbsBlockDevice) *InstanceTypeSpecification

SetEbsBlockDevices sets the EbsBlockDevices field's value.

func (*InstanceTypeSpecification) SetEbsOptimized Uses

func (s *InstanceTypeSpecification) SetEbsOptimized(v bool) *InstanceTypeSpecification

SetEbsOptimized sets the EbsOptimized field's value.

func (*InstanceTypeSpecification) SetInstanceType Uses

func (s *InstanceTypeSpecification) SetInstanceType(v string) *InstanceTypeSpecification

SetInstanceType sets the InstanceType field's value.

func (*InstanceTypeSpecification) SetWeightedCapacity Uses

func (s *InstanceTypeSpecification) SetWeightedCapacity(v int64) *InstanceTypeSpecification

SetWeightedCapacity sets the WeightedCapacity field's value.

func (InstanceTypeSpecification) String Uses

func (s InstanceTypeSpecification) String() string

String returns the string representation

type JobFlowDetail Uses

type JobFlowDetail struct {

    // Applies only to Amazon EMR AMI versions 3.x and 2.x. For Amazon EMR releases
    // 4.0 and later, ReleaseLabel is used. To specify a custom AMI, use CustomAmiID.
    AmiVersion *string `type:"string"`

    // An IAM role for automatic scaling policies. The default role is EMR_AutoScaling_DefaultRole.
    // The IAM role provides a way for the automatic scaling feature to get the
    // required permissions it needs to launch and terminate EC2 instances in an
    // instance group.
    AutoScalingRole *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 way that individual Amazon EC2 instances terminate when an automatic
    // scale-in activity occurs or an instance group is resized. TERMINATE_AT_INSTANCE_HOUR
    // indicates that Amazon EMR terminates nodes at the instance-hour boundary,
    // regardless of when the request to terminate the instance was submitted. This
    // option is only available with Amazon EMR 5.1.0 and later and is the default
    // for clusters created using that version. TERMINATE_AT_TASK_COMPLETION indicates
    // that Amazon EMR blacklists and drains tasks from nodes before terminating
    // the Amazon EC2 instances, regardless of the instance-hour boundary. With
    // either behavior, Amazon EMR removes the least active nodes first and blocks
    // instance termination if it could lead to HDFS corruption. TERMINATE_AT_TASK_COMPLETION
    // available only in Amazon EMR version 4.1.0 and later, and is the default
    // for versions of Amazon EMR earlier than 5.1.0.
    ScaleDownBehavior *string `type:"string" enum:"ScaleDownBehavior"`

    // 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 cluster is visible to all IAM users of the AWS account
    // associated with the cluster. 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 cluster. If it is set to 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
}

A description of a cluster (job flow).

func (JobFlowDetail) GoString Uses

func (s JobFlowDetail) GoString() string

GoString returns the string representation

func (*JobFlowDetail) SetAmiVersion Uses

func (s *JobFlowDetail) SetAmiVersion(v string) *JobFlowDetail

SetAmiVersion sets the AmiVersion field's value.

func (*JobFlowDetail) SetAutoScalingRole Uses

func (s *JobFlowDetail) SetAutoScalingRole(v string) *JobFlowDetail

SetAutoScalingRole sets the AutoScalingRole field's value.

func (*JobFlowDetail) SetBootstrapActions Uses

func (s *JobFlowDetail) SetBootstrapActions(v []*BootstrapActionDetail) *JobFlowDetail

SetBootstrapActions sets the BootstrapActions field's value.

func (*JobFlowDetail) SetExecutionStatusDetail Uses

func (s *JobFlowDetail) SetExecutionStatusDetail(v *JobFlowExecutionStatusDetail) *JobFlowDetail

SetExecutionStatusDetail sets the ExecutionStatusDetail field's value.

func (*JobFlowDetail) SetInstances Uses

func (s *JobFlowDetail) SetInstances(v *JobFlowInstancesDetail) *JobFlowDetail

SetInstances sets the Instances field's value.

func (*JobFlowDetail) SetJobFlowId Uses

func (s *JobFlowDetail) SetJobFlowId(v string) *JobFlowDetail

SetJobFlowId sets the JobFlowId field's value.

func (*JobFlowDetail) SetJobFlowRole Uses

func (s *JobFlowDetail) SetJobFlowRole(v string) *JobFlowDetail

SetJobFlowRole sets the JobFlowRole field's value.

func (*JobFlowDetail) SetLogUri Uses

func (s *JobFlowDetail) SetLogUri(v string) *JobFlowDetail

SetLogUri sets the LogUri field's value.

func (*JobFlowDetail) SetName Uses

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

SetName sets the Name field's value.

func (*JobFlowDetail) SetScaleDownBehavior Uses

func (s *JobFlowDetail) SetScaleDownBehavior(v string) *JobFlowDetail

SetScaleDownBehavior sets the ScaleDownBehavior field's value.

func (*JobFlowDetail) SetServiceRole Uses

func (s *JobFlowDetail) SetServiceRole(v string) *JobFlowDetail

SetServiceRole sets the ServiceRole field's value.

func (*JobFlowDetail) SetSteps Uses

func (s *JobFlowDetail) SetSteps(v []*StepDetail) *JobFlowDetail

SetSteps sets the Steps field's value.

func (*JobFlowDetail) SetSupportedProducts Uses

func (s *JobFlowDetail) SetSupportedProducts(v []*string) *JobFlowDetail

SetSupportedProducts sets the SupportedProducts field's value.

func (*JobFlowDetail) SetVisibleToAllUsers Uses

func (s *JobFlowDetail) SetVisibleToAllUsers(v bool) *JobFlowDetail

SetVisibleToAllUsers sets the VisibleToAllUsers field's value.

func (JobFlowDetail) String Uses

func (s JobFlowDetail) String() string

String returns the string representation

type JobFlowExecutionStatusDetail Uses

type JobFlowExecutionStatusDetail struct {

    // The creation date and time of the job flow.
    //
    // CreationDateTime is a required field
    CreationDateTime *time.Time `type:"timestamp" required:"true"`

    // The completion date and time of the job flow.
    EndDateTime *time.Time `type:"timestamp"`

    // 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"`

    // The start date and time of the job flow.
    StartDateTime *time.Time `type:"timestamp"`

    // 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 cluster (job flow).

func (JobFlowExecutionStatusDetail) GoString Uses

func (s JobFlowExecutionStatusDetail) GoString() string

GoString returns the string representation

func (*JobFlowExecutionStatusDetail) SetCreationDateTime Uses

func (s *JobFlowExecutionStatusDetail) SetCreationDateTime(v time.Time) *JobFlowExecutionStatusDetail

SetCreationDateTime sets the CreationDateTime field's value.

func (*JobFlowExecutionStatusDetail) SetEndDateTime Uses

func (s *JobFlowExecutionStatusDetail) SetEndDateTime(v time.Time) *JobFlowExecutionStatusDetail

SetEndDateTime sets the EndDateTime field's value.

func (*JobFlowExecutionStatusDetail) SetLastStateChangeReason Uses

func (s *JobFlowExecutionStatusDetail) SetLastStateChangeReason(v string) *JobFlowExecutionStatusDetail

SetLastStateChangeReason sets the LastStateChangeReason field's value.

func (*JobFlowExecutionStatusDetail) SetReadyDateTime Uses

func (s *JobFlowExecutionStatusDetail) SetReadyDateTime(v time.Time) *JobFlowExecutionStatusDetail

SetReadyDateTime sets the ReadyDateTime field's value.

func (*JobFlowExecutionStatusDetail) SetStartDateTime Uses

func (s *JobFlowExecutionStatusDetail) SetStartDateTime(v time.Time) *JobFlowExecutionStatusDetail

SetStartDateTime sets the StartDateTime field's value.

func (*JobFlowExecutionStatusDetail) SetState Uses

func (s *JobFlowExecutionStatusDetail) SetState(v string) *JobFlowExecutionStatusDetail

SetState sets the State field's value.

func (JobFlowExecutionStatusDetail) String Uses

func (s JobFlowExecutionStatusDetail) String() string

String returns the string representation

type JobFlowInstancesConfig Uses

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 core and task
    // nodes.
    AdditionalSlaveSecurityGroups []*string `type:"list"`

    // The name of the EC2 key pair that can be used to ssh to the master node as
    // the user called "hadoop."
    Ec2KeyName *string `type:"string"`

    // Applies to clusters that use the uniform instance group configuration. To
    // launch the cluster in Amazon Virtual Private Cloud (Amazon VPC), set this
    // parameter to the identifier of the Amazon VPC subnet where you want the cluster
    // to launch. If you do not specify this value, the cluster launches in the
    // normal Amazon Web Services cloud, outside of an Amazon VPC, if the account
    // launching the cluster supports EC2 Classic networks in the region where the
    // cluster launches.
    //
    // Amazon VPC currently does not support cluster compute quadruple extra large
    // (cc1.4xlarge) instances. Thus you cannot specify the cc1.4xlarge instance
    // type for clusters launched in an Amazon VPC.
    Ec2SubnetId *string `type:"string"`

    // Applies to clusters that use the instance fleet configuration. When multiple
    // EC2 subnet IDs are specified, Amazon EMR evaluates them and launches instances
    // in the optimal subnet.
    //
    // The instance fleet configuration is available only in Amazon EMR versions
    // 4.8.0 and later, excluding 5.0.x versions.
    Ec2SubnetIds []*string `type:"list"`

    // 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 core and task nodes.
    EmrManagedSlaveSecurityGroup *string `type:"string"`

    // Applies only to Amazon EMR release versions earlier than 4.0. The Hadoop
    // version for the cluster. 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 EC2 instances in the cluster.
    InstanceCount *int64 `type:"integer"`

    //
    // The instance fleet configuration is available only in Amazon EMR versions
    // 4.8.0 and later, excluding 5.0.x versions.
    //
    // Describes the EC2 instances and instance configurations for clusters that
    // use the instance fleet configuration.
    InstanceFleets []*InstanceFleetConfig `type:"list"`

    // Configuration for the instance groups in a cluster.
    InstanceGroups []*InstanceGroupConfig `type:"list"`

    // Specifies whether the cluster should remain available 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 in which the cluster runs.
    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 core and task nodes.
    SlaveInstanceType *string `min:"1" type:"string"`

    // Specifies whether to lock the cluster 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 on which the cluster (job flow) runs. A valid JobFlowInstancesConfig must contain either InstanceGroups or InstanceFleets, which is the recommended configuration. They cannot be used together. You may also have MasterInstanceType, SlaveInstanceType, and InstanceCount (all three must be present), but we don't recommend this configuration.

func (JobFlowInstancesConfig) GoString Uses

func (s JobFlowInstancesConfig) GoString() string

GoString returns the string representation

func (*JobFlowInstancesConfig) SetAdditionalMasterSecurityGroups Uses

func (s *JobFlowInstancesConfig) SetAdditionalMasterSecurityGroups(v []*string) *JobFlowInstancesConfig

SetAdditionalMasterSecurityGroups sets the AdditionalMasterSecurityGroups field's value.

func (*JobFlowInstancesConfig) SetAdditionalSlaveSecurityGroups Uses

func (s *JobFlowInstancesConfig) SetAdditionalSlaveSecurityGroups(v []*string) *JobFlowInstancesConfig

SetAdditionalSlaveSecurityGroups sets the AdditionalSlaveSecurityGroups field's value.

func (*JobFlowInstancesConfig) SetEc2KeyName Uses

func (s *JobFlowInstancesConfig) SetEc2KeyName(v string) *JobFlowInstancesConfig

SetEc2KeyName sets the Ec2KeyName field's value.

func (*JobFlowInstancesConfig) SetEc2SubnetId Uses

func (s *JobFlowInstancesConfig) SetEc2SubnetId(v string) *JobFlowInstancesConfig

SetEc2SubnetId sets the Ec2SubnetId field's value.

func (*JobFlowInstancesConfig) SetEc2SubnetIds Uses

func (s *JobFlowInstancesConfig) SetEc2SubnetIds(v []*string) *JobFlowInstancesConfig

SetEc2SubnetIds sets the Ec2SubnetIds field's value.

func (*JobFlowInstancesConfig) SetEmrManagedMasterSecurityGroup Uses

func (s *JobFlowInstancesConfig) SetEmrManagedMasterSecurityGroup(v string) *JobFlowInstancesConfig

SetEmrManagedMasterSecurityGroup sets the EmrManagedMasterSecurityGroup field's value.

func (*JobFlowInstancesConfig) SetEmrManagedSlaveSecurityGroup Uses

func (s *JobFlowInstancesConfig) SetEmrManagedSlaveSecurityGroup(v string) *JobFlowInstancesConfig

SetEmrManagedSlaveSecurityGroup sets the EmrManagedSlaveSecurityGroup field's value.

func (*JobFlowInstancesConfig) SetHadoopVersion Uses

func (s *JobFlowInstancesConfig) SetHadoopVersion(v string) *JobFlowInstancesConfig

SetHadoopVersion sets the HadoopVersion field's value.

func (*JobFlowInstancesConfig) SetInstanceCount Uses

func (s *JobFlowInstancesConfig) SetInstanceCount(v int64) *JobFlowInstancesConfig

SetInstanceCount sets the InstanceCount field's value.

func (*JobFlowInstancesConfig) SetInstanceFleets Uses

func (s *JobFlowInstancesConfig) SetInstanceFleets(v []*InstanceFleetConfig) *JobFlowInstancesConfig

SetInstanceFleets sets the InstanceFleets field's value.

func (*JobFlowInstancesConfig) SetInstanceGroups Uses

func (s *JobFlowInstancesConfig) SetInstanceGroups(v []*InstanceGroupConfig) *JobFlowInstancesConfig

SetInstanceGroups sets the InstanceGroups field's value.

func (*JobFlowInstancesConfig) SetKeepJobFlowAliveWhenNoSteps Uses

func (s *JobFlowInstancesConfig) SetKeepJobFlowAliveWhenNoSteps(v bool) *JobFlowInstancesConfig

SetKeepJobFlowAliveWhenNoSteps sets the KeepJobFlowAliveWhenNoSteps field's value.

func (*JobFlowInstancesConfig) SetMasterInstanceType Uses

func (s *JobFlowInstancesConfig) SetMasterInstanceType(v string) *JobFlowInstancesConfig

SetMasterInstanceType sets the MasterInstanceType field's value.

func (*JobFlowInstancesConfig) SetPlacement Uses

func (s *JobFlowInstancesConfig) SetPlacement(v *PlacementType) *JobFlowInstancesConfig

SetPlacement sets the Placement field's value.

func (*JobFlowInstancesConfig) SetServiceAccessSecurityGroup Uses

func (s *JobFlowInstancesConfig) SetServiceAccessSecurityGroup(v string) *JobFlowInstancesConfig

SetServiceAccessSecurityGroup sets the ServiceAccessSecurityGroup field's value.

func (*JobFlowInstancesConfig) SetSlaveInstanceType Uses

func (s *JobFlowInstancesConfig) SetSlaveInstanceType(v string) *JobFlowInstancesConfig

SetSlaveInstanceType sets the SlaveInstanceType field's value.

func (*JobFlowInstancesConfig) SetTerminationProtected Uses

func (s *JobFlowInstancesConfig) SetTerminationProtected(v bool) *JobFlowInstancesConfig

SetTerminationProtected sets the TerminationProtected field's value.

func (JobFlowInstancesConfig) String Uses

func (s JobFlowInstancesConfig) String() string

String returns the string representation

func (*JobFlowInstancesConfig) Validate Uses

func (s *JobFlowInstancesConfig) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type JobFlowInstancesDetail Uses

type JobFlowInstancesDetail struct {

    // The name of an Amazon EC2 key pair that can be used to ssh to the master
    // node.
    Ec2KeyName *string `type:"string"`

    // For clusters launched within Amazon Virtual Private Cloud, this is the identifier
    // of the subnet where the cluster was launched.
    Ec2SubnetId *string `type:"string"`

    // The Hadoop version for the cluster.
    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 core and task node. If the value
    // is greater than 1, one instance is the master node and all others are core
    // and task nodes.
    //
    // InstanceCount is a required field
    InstanceCount *int64 `type:"integer" required:"true"`

    // Details about the instance groups in a cluster.
    InstanceGroups []*InstanceGroupDetail `type:"list"`

    // Specifies whether the cluster should remain available 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. If the cluster is on a private subnet, this
    // is the private DNS name. On a public subnet, this is the public DNS name.
    MasterPublicDnsName *string `type:"string"`

    // An approximation of the cost of the cluster, represented in m1.small/hours.
    // This value is incremented one time for every hour that 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 cluster.
    Placement *PlacementType `type:"structure"`

    // The Amazon EC2 core and task 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 that the cluster (job flow) runs on.

func (JobFlowInstancesDetail) GoString Uses

func (s JobFlowInstancesDetail) GoString() string

GoString returns the string representation

func (*JobFlowInstancesDetail) SetEc2KeyName Uses

func (s *JobFlowInstancesDetail) SetEc2KeyName(v string) *JobFlowInstancesDetail

SetEc2KeyName sets the Ec2KeyName field's value.

func (*JobFlowInstancesDetail) SetEc2SubnetId Uses

func (s *JobFlowInstancesDetail) SetEc2SubnetId(v string) *JobFlowInstancesDetail

SetEc2SubnetId sets the Ec2SubnetId field's value.

func (*JobFlowInstancesDetail) SetHadoopVersion Uses

func (s *JobFlowInstancesDetail) SetHadoopVersion(v string) *JobFlowInstancesDetail

SetHadoopVersion sets the HadoopVersion field's value.

func (*JobFlowInstancesDetail) SetInstanceCount Uses

func (s *JobFlowInstancesDetail) SetInstanceCount(v int64) *JobFlowInstancesDetail

SetInstanceCount sets the InstanceCount field's value.

func (*JobFlowInstancesDetail) SetInstanceGroups Uses

func (s *JobFlowInstancesDetail) SetInstanceGroups(v []*InstanceGroupDetail) *JobFlowInstancesDetail

SetInstanceGroups sets the InstanceGroups field's value.

func (*JobFlowInstancesDetail) SetKeepJobFlowAliveWhenNoSteps Uses

func (s *JobFlowInstancesDetail) SetKeepJobFlowAliveWhenNoSteps(v bool) *JobFlowInstancesDetail

SetKeepJobFlowAliveWhenNoSteps sets the KeepJobFlowAliveWhenNoSteps field's value.

func (*JobFlowInstancesDetail) SetMasterInstanceId Uses

func (s *JobFlowInstancesDetail) SetMasterInstanceId(v string) *JobFlowInstancesDetail

SetMasterInstanceId sets the MasterInstanceId field's value.

func (*JobFlowInstancesDetail) SetMasterInstanceType Uses

func (s *JobFlowInstancesDetail) SetMasterInstanceType(v string) *JobFlowInstancesDetail

SetMasterInstanceType sets the MasterInstanceType field's value.

func (*JobFlowInstancesDetail) SetMasterPublicDnsName Uses

func (s *JobFlowInstancesDetail) SetMasterPublicDnsName(v string) *JobFlowInstancesDetail

SetMasterPublicDnsName sets the MasterPublicDnsName field's value.

func (*JobFlowInstancesDetail) SetNormalizedInstanceHours Uses

func (s *JobFlowInstancesDetail) SetNormalizedInstanceHours(v int64) *JobFlowInstancesDetail

SetNormalizedInstanceHours sets the NormalizedInstanceHours field's value.

func (*JobFlowInstancesDetail) SetPlacement Uses

func (s *JobFlowInstancesDetail) SetPlacement(v *PlacementType) *JobFlowInstancesDetail

SetPlacement sets the Placement field's value.

func (*JobFlowInstancesDetail) SetSlaveInstanceType Uses

func (s *JobFlowInstancesDetail) SetSlaveInstanceType(v string) *JobFlowInstancesDetail

SetSlaveInstanceType sets the SlaveInstanceType field's value.

func (*JobFlowInstancesDetail) SetTerminationProtected Uses

func (s *JobFlowInstancesDetail) SetTerminationProtected(v bool) *JobFlowInstancesDetail

SetTerminationProtected sets the TerminationProtected field's value.

func (JobFlowInstancesDetail) String Uses

func (s JobFlowInstancesDetail) String() string

String returns the string representation

type KerberosAttributes Uses

type KerberosAttributes struct {

    // The Active Directory password for ADDomainJoinUser.
    ADDomainJoinPassword *string `type:"string"`

    // Required only when establishing a cross-realm trust with an Active Directory
    // domain. A user with sufficient privileges to join resources to the domain.
    ADDomainJoinUser *string `type:"string"`

    // Required only when establishing a cross-realm trust with a KDC in a different
    // realm. The cross-realm principal password, which must be identical across
    // realms.
    CrossRealmTrustPrincipalPassword *string `type:"string"`

    // The password used within the cluster for the kadmin service on the cluster-dedicated
    // KDC, which maintains Kerberos principals, password policies, and keytabs
    // for the cluster.
    //
    // KdcAdminPassword is a required field
    KdcAdminPassword *string `type:"string" required:"true"`

    // The name of the Kerberos realm to which all nodes in a cluster belong. For
    // example, EC2.INTERNAL.
    //
    // Realm is a required field
    Realm *string `type:"string" required:"true"`
    // contains filtered or unexported fields
}

Attributes for Kerberos configuration when Kerberos authentication is enabled using a security configuration. For more information see Use Kerberos Authentication (https://docs.aws.amazon.com/emr/latest/ManagementGuide/emr-kerberos.html) in the EMR Management Guide.

func (KerberosAttributes) GoString Uses

func (s KerberosAttributes) GoString() string

GoString returns the string representation

func (*KerberosAttributes) SetADDomainJoinPassword Uses

func (s *KerberosAttributes) SetADDomainJoinPassword(v string) *KerberosAttributes

SetADDomainJoinPassword sets the ADDomainJoinPassword field's value.

func (*KerberosAttributes) SetADDomainJoinUser Uses

func (s *KerberosAttributes) SetADDomainJoinUser(v string) *KerberosAttributes

SetADDomainJoinUser sets the ADDomainJoinUser field's value.

func (*KerberosAttributes) SetCrossRealmTrustPrincipalPassword Uses

func (s *KerberosAttributes) SetCrossRealmTrustPrincipalPassword(v string) *KerberosAttributes

SetCrossRealmTrustPrincipalPassword sets the CrossRealmTrustPrincipalPassword field's value.

func (*KerberosAttributes) SetKdcAdminPassword Uses

func (s *KerberosAttributes) SetKdcAdminPassword(v string) *KerberosAttributes

SetKdcAdminPassword sets the KdcAdminPassword field's value.

func (*KerberosAttributes) SetRealm Uses

func (s *KerberosAttributes) SetRealm(v string) *KerberosAttributes

SetRealm sets the Realm field's value.

func (KerberosAttributes) String Uses

func (s KerberosAttributes) String() string

String returns the string representation

func (*KerberosAttributes) Validate Uses

func (s *KerberosAttributes) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type KeyValue Uses

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.

func (KeyValue) GoString Uses

func (s KeyValue) GoString() string

GoString returns the string representation

func (*KeyValue) SetKey Uses

func (s *KeyValue) SetKey(v string) *KeyValue

SetKey sets the Key field's value.

func (*KeyValue) SetValue Uses

func (s *KeyValue) SetValue(v string) *KeyValue

SetValue sets the Value field's value.

func (KeyValue) String Uses

func (s KeyValue) String() string

String returns the string representation

type ListBootstrapActionsInput Uses

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 Uses

func (s ListBootstrapActionsInput) GoString() string

GoString returns the string representation

func (*ListBootstrapActionsInput) SetClusterId Uses

func (s *ListBootstrapActionsInput) SetClusterId(v string) *ListBootstrapActionsInput

SetClusterId sets the ClusterId field's value.

func (*ListBootstrapActionsInput) SetMarker Uses

func (s *ListBootstrapActionsInput) SetMarker(v string) *ListBootstrapActionsInput

SetMarker sets the Marker field's value.

func (ListBootstrapActionsInput) String Uses

func (s ListBootstrapActionsInput) String() string

String returns the string representation

func (*ListBootstrapActionsInput) Validate Uses

func (s *ListBootstrapActionsInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type ListBootstrapActionsOutput Uses

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 bootstrap actions detail.

func (ListBootstrapActionsOutput) GoString Uses

func (s ListBootstrapActionsOutput) GoString() string

GoString returns the string representation

func (*ListBootstrapActionsOutput) SetBootstrapActions Uses

func (s *ListBootstrapActionsOutput) SetBootstrapActions(v []*Command) *ListBootstrapActionsOutput

SetBootstrapActions sets the BootstrapActions field's value.

func (*ListBootstrapActionsOutput) SetMarker Uses

func (s *ListBootstrapActionsOutput) SetMarker(v string) *ListBootstrapActionsOutput

SetMarker sets the Marker field's value.

func (ListBootstrapActionsOutput) String Uses

func (s ListBootstrapActionsOutput) String() string

String returns the string representation

type ListClustersInput Uses

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"`

    // The creation date and time end value filter for listing clusters.
    CreatedBefore *time.Time `type:"timestamp"`

    // 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 Uses

func (s ListClustersInput) GoString() string

GoString returns the string representation

func (*ListClustersInput) SetClusterStates Uses

func (s *ListClustersInput) SetClusterStates(v []*string) *ListClustersInput

SetClusterStates sets the ClusterStates field's value.

func (*ListClustersInput) SetCreatedAfter Uses

func (s *ListClustersInput) SetCreatedAfter(v time.Time) *ListClustersInput

SetCreatedAfter sets the CreatedAfter field's value.

func (*ListClustersInput) SetCreatedBefore Uses

func (s *ListClustersInput) SetCreatedBefore(v time.Time) *ListClustersInput

SetCreatedBefore sets the CreatedBefore field's value.

func (*ListClustersInput) SetMarker Uses

func (s *ListClustersInput) SetMarker(v string) *ListClustersInput

SetMarker sets the Marker field's value.

func (ListClustersInput) String Uses

func (s ListClustersInput) String() string

String returns the string representation

type ListClustersOutput Uses

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 Uses

func (s ListClustersOutput) GoString() string

GoString returns the string representation

func (*ListClustersOutput) SetClusters Uses

func (s *ListClustersOutput) SetClusters(v []*ClusterSummary) *ListClustersOutput

SetClusters sets the Clusters field's value.

func (*ListClustersOutput) SetMarker Uses

func (s *ListClustersOutput) SetMarker(v string) *ListClustersOutput

SetMarker sets the Marker field's value.

func (ListClustersOutput) String Uses

func (s ListClustersOutput) String() string

String returns the string representation

type ListInstanceFleetsInput Uses

type ListInstanceFleetsInput struct {

    // The unique identifier of the cluster.
    //
    // 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
}

func (ListInstanceFleetsInput) GoString Uses

func (s ListInstanceFleetsInput) GoString() string

GoString returns the string representation

func (*ListInstanceFleetsInput) SetClusterId Uses

func (s *ListInstanceFleetsInput) SetClusterId(v string) *ListInstanceFleetsInput

SetClusterId sets the ClusterId field's value.

func (*ListInstanceFleetsInput) SetMarker Uses

func (s *ListInstanceFleetsInput) SetMarker(v string) *ListInstanceFleetsInput

SetMarker sets the Marker field's value.

func (ListInstanceFleetsInput) String Uses

func (s ListInstanceFleetsInput) String() string

String returns the string representation

func (*ListInstanceFleetsInput) Validate Uses

func (s *ListInstanceFleetsInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type ListInstanceFleetsOutput Uses

type ListInstanceFleetsOutput struct {

    // The list of instance fleets for the cluster and given filters.
    InstanceFleets []*InstanceFleet `type:"list"`

    // The pagination token that indicates the next set of results to retrieve.
    Marker *string `type:"string"`
    // contains filtered or unexported fields
}

func (ListInstanceFleetsOutput) GoString Uses

func (s ListInstanceFleetsOutput) GoString() string

GoString returns the string representation

func (*ListInstanceFleetsOutput) SetInstanceFleets Uses

func (s *ListInstanceFleetsOutput) SetInstanceFleets(v []*InstanceFleet) *ListInstanceFleetsOutput

SetInstanceFleets sets the InstanceFleets field's value.

func (*ListInstanceFleetsOutput) SetMarker Uses

func (s *ListInstanceFleetsOutput) SetMarker(v string) *ListInstanceFleetsOutput

SetMarker sets the Marker field's value.

func (ListInstanceFleetsOutput) String Uses

func (s ListInstanceFleetsOutput) String() string

String returns the string representation

type ListInstanceGroupsInput Uses

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 Uses

func (s ListInstanceGroupsInput) GoString() string

GoString returns the string representation

func (*ListInstanceGroupsInput) SetClusterId Uses

func (s *ListInstanceGroupsInput) SetClusterId(v string) *ListInstanceGroupsInput

SetClusterId sets the ClusterId field's value.

func (*ListInstanceGroupsInput) SetMarker Uses

func (s *ListInstanceGroupsInput) SetMarker(v string) *ListInstanceGroupsInput

SetMarker sets the Marker field's value.

func (ListInstanceGroupsInput) String Uses

func (s ListInstanceGroupsInput) String() string

String returns the string representation

func (*ListInstanceGroupsInput) Validate Uses

func (s *ListInstanceGroupsInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type ListInstanceGroupsOutput Uses

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 Uses

func (s ListInstanceGroupsOutput) GoString() string

GoString returns the string representation

func (*ListInstanceGroupsOutput) SetInstanceGroups Uses

func (s *ListInstanceGroupsOutput) SetInstanceGroups(v []*InstanceGroup) *ListInstanceGroupsOutput

SetInstanceGroups sets the InstanceGroups field's value.

func (*ListInstanceGroupsOutput) SetMarker Uses

func (s *ListInstanceGroupsOutput) SetMarker(v string) *ListInstanceGroupsOutput

SetMarker sets the Marker field's value.

func (ListInstanceGroupsOutput) String Uses

func (s ListInstanceGroupsOutput) String() string

String returns the string representation

type ListInstancesInput Uses

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 unique identifier of the instance fleet.
    InstanceFleetId *string `type:"string"`

    // The node type of the instance fleet. For example MASTER, CORE, or TASK.
    InstanceFleetType *string `type:"string" enum:"InstanceFleetType"`

    // 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 Uses

func (s ListInstancesInput) GoString() string

GoString returns the string representation

func (*ListInstancesInput) SetClusterId Uses

func (s *ListInstancesInput) SetClusterId(v string) *ListInstancesInput

SetClusterId sets the ClusterId field's value.

func (*ListInstancesInput) SetInstanceFleetId Uses

func (s *ListInstancesInput) SetInstanceFleetId(v string) *ListInstancesInput

SetInstanceFleetId sets the InstanceFleetId field's value.

func (*ListInstancesInput) SetInstanceFleetType Uses

func (s *ListInstancesInput) SetInstanceFleetType(v string) *ListInstancesInput

SetInstanceFleetType sets the InstanceFleetType field's value.

func (*ListInstancesInput) SetInstanceGroupId Uses

func (s *ListInstancesInput) SetInstanceGroupId(v string) *ListInstancesInput

SetInstanceGroupId sets the InstanceGroupId field's value.

func (*ListInstancesInput) SetInstanceGroupTypes Uses

func (s *ListInstancesInput) SetInstanceGroupTypes(v []*string) *ListInstancesInput

SetInstanceGroupTypes sets the InstanceGroupTypes field's value.

func (*ListInstancesInput) SetInstanceStates Uses

func (s *ListInstancesInput) SetInstanceStates(v []*string) *ListInstancesInput

SetInstanceStates sets the InstanceStates field's value.

func (*ListInstancesInput) SetMarker Uses

func (s *ListInstancesInput) SetMarker(v string) *ListInstancesInput

SetMarker sets the Marker field's value.

func (ListInstancesInput) String Uses

func (s ListInstancesInput) String() string

String returns the string representation

func (*ListInstancesInput) Validate Uses

func (s *ListInstancesInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type ListInstancesOutput Uses

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 Uses

func (s ListInstancesOutput) GoString() string

GoString returns the string representation

func (*ListInstancesOutput) SetInstances Uses

func (s *ListInstancesOutput) SetInstances(v []*Instance) *ListInstancesOutput

SetInstances sets the Instances field's value.

func (*ListInstancesOutput) SetMarker Uses

func (s *ListInstancesOutput) SetMarker(v string) *ListInstancesOutput

SetMarker sets the Marker field's value.

func (ListInstancesOutput) String Uses

func (s ListInstancesOutput) String() string

String returns the string representation

type ListSecurityConfigurationsInput Uses