emr

package
v1.51.28 Latest Latest
Warning

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

Go to latest
Published: Apr 24, 2024 License: Apache-2.0 Imports: 10 Imported by: 216

Documentation

Overview

Package emr provides the client and types for making API requests to Amazon EMR.

Amazon EMR is a web service that makes it easier to process large amounts of data efficiently. Amazon EMR uses Hadoop processing combined with several Amazon Web Services services to do tasks such as web indexing, data mining, log file analysis, machine learning, scientific simulation, and data warehouse management.

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 EMR 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 EMR client EMR for more information on creating client for this service. https://docs.aws.amazon.com/sdk-for-go/api/service/emr/#New

Index

Constants

View Source
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"
)
View Source
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"
)
View Source
const (
	// AuthModeSso is a AuthMode enum value
	AuthModeSso = "SSO"

	// AuthModeIam is a AuthMode enum value
	AuthModeIam = "IAM"
)
View Source
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"
)
View Source
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"
)
View Source
const (
	// CancelStepsRequestStatusSubmitted is a CancelStepsRequestStatus enum value
	CancelStepsRequestStatusSubmitted = "SUBMITTED"

	// CancelStepsRequestStatusFailed is a CancelStepsRequestStatus enum value
	CancelStepsRequestStatusFailed = "FAILED"
)
View Source
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"
)
View Source
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"
)
View Source
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"
)
View Source
const (
	// ComputeLimitsUnitTypeInstanceFleetUnits is a ComputeLimitsUnitType enum value
	ComputeLimitsUnitTypeInstanceFleetUnits = "InstanceFleetUnits"

	// ComputeLimitsUnitTypeInstances is a ComputeLimitsUnitType enum value
	ComputeLimitsUnitTypeInstances = "Instances"

	// ComputeLimitsUnitTypeVcpu is a ComputeLimitsUnitType enum value
	ComputeLimitsUnitTypeVcpu = "VCPU"
)
View Source
const (
	// IdcUserAssignmentRequired is a IdcUserAssignment enum value
	IdcUserAssignmentRequired = "REQUIRED"

	// IdcUserAssignmentOptional is a IdcUserAssignment enum value
	IdcUserAssignmentOptional = "OPTIONAL"
)
View Source
const (
	// IdentityTypeUser is a IdentityType enum value
	IdentityTypeUser = "USER"

	// IdentityTypeGroup is a IdentityType enum value
	IdentityTypeGroup = "GROUP"
)
View Source
const (
	// InstanceCollectionTypeInstanceFleet is a InstanceCollectionType enum value
	InstanceCollectionTypeInstanceFleet = "INSTANCE_FLEET"

	// InstanceCollectionTypeInstanceGroup is a InstanceCollectionType enum value
	InstanceCollectionTypeInstanceGroup = "INSTANCE_GROUP"
)
View Source
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"
)
View Source
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"
)
View Source
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"
)
View Source
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"
)
View Source
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"
)
View Source
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"
)
View Source
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"
)
View Source
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"
)
View Source
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"
)
View Source
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.

View Source
const (
	// MarketTypeOnDemand is a MarketType enum value
	MarketTypeOnDemand = "ON_DEMAND"

	// MarketTypeSpot is a MarketType enum value
	MarketTypeSpot = "SPOT"
)
View Source
const (
	// NotebookExecutionStatusStartPending is a NotebookExecutionStatus enum value
	NotebookExecutionStatusStartPending = "START_PENDING"

	// NotebookExecutionStatusStarting is a NotebookExecutionStatus enum value
	NotebookExecutionStatusStarting = "STARTING"

	// NotebookExecutionStatusRunning is a NotebookExecutionStatus enum value
	NotebookExecutionStatusRunning = "RUNNING"

	// NotebookExecutionStatusFinishing is a NotebookExecutionStatus enum value
	NotebookExecutionStatusFinishing = "FINISHING"

	// NotebookExecutionStatusFinished is a NotebookExecutionStatus enum value
	NotebookExecutionStatusFinished = "FINISHED"

	// NotebookExecutionStatusFailing is a NotebookExecutionStatus enum value
	NotebookExecutionStatusFailing = "FAILING"

	// NotebookExecutionStatusFailed is a NotebookExecutionStatus enum value
	NotebookExecutionStatusFailed = "FAILED"

	// NotebookExecutionStatusStopPending is a NotebookExecutionStatus enum value
	NotebookExecutionStatusStopPending = "STOP_PENDING"

	// NotebookExecutionStatusStopping is a NotebookExecutionStatus enum value
	NotebookExecutionStatusStopping = "STOPPING"

	// NotebookExecutionStatusStopped is a NotebookExecutionStatus enum value
	NotebookExecutionStatusStopped = "STOPPED"
)
View Source
const (
	// OnDemandCapacityReservationPreferenceOpen is a OnDemandCapacityReservationPreference enum value
	OnDemandCapacityReservationPreferenceOpen = "open"

	// OnDemandCapacityReservationPreferenceNone is a OnDemandCapacityReservationPreference enum value
	OnDemandCapacityReservationPreferenceNone = "none"
)
View Source
const (
	// PlacementGroupStrategySpread is a PlacementGroupStrategy enum value
	PlacementGroupStrategySpread = "SPREAD"

	// PlacementGroupStrategyPartition is a PlacementGroupStrategy enum value
	PlacementGroupStrategyPartition = "PARTITION"

	// PlacementGroupStrategyCluster is a PlacementGroupStrategy enum value
	PlacementGroupStrategyCluster = "CLUSTER"

	// PlacementGroupStrategyNone is a PlacementGroupStrategy enum value
	PlacementGroupStrategyNone = "NONE"
)
View Source
const (
	// ReconfigurationTypeOverwrite is a ReconfigurationType enum value
	ReconfigurationTypeOverwrite = "OVERWRITE"

	// ReconfigurationTypeMerge is a ReconfigurationType enum value
	ReconfigurationTypeMerge = "MERGE"
)
View Source
const (
	// RepoUpgradeOnBootSecurity is a RepoUpgradeOnBoot enum value
	RepoUpgradeOnBootSecurity = "SECURITY"

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

	// ScaleDownBehaviorTerminateAtTaskCompletion is a ScaleDownBehavior enum value
	ScaleDownBehaviorTerminateAtTaskCompletion = "TERMINATE_AT_TASK_COMPLETION"
)
View Source
const (
	// SpotProvisioningAllocationStrategyCapacityOptimized is a SpotProvisioningAllocationStrategy enum value
	SpotProvisioningAllocationStrategyCapacityOptimized = "capacity-optimized"

	// SpotProvisioningAllocationStrategyPriceCapacityOptimized is a SpotProvisioningAllocationStrategy enum value
	SpotProvisioningAllocationStrategyPriceCapacityOptimized = "price-capacity-optimized"

	// SpotProvisioningAllocationStrategyLowestPrice is a SpotProvisioningAllocationStrategy enum value
	SpotProvisioningAllocationStrategyLowestPrice = "lowest-price"

	// SpotProvisioningAllocationStrategyDiversified is a SpotProvisioningAllocationStrategy enum value
	SpotProvisioningAllocationStrategyDiversified = "diversified"
)
View Source
const (
	// SpotProvisioningTimeoutActionSwitchToOnDemand is a SpotProvisioningTimeoutAction enum value
	SpotProvisioningTimeoutActionSwitchToOnDemand = "SWITCH_TO_ON_DEMAND"

	// SpotProvisioningTimeoutActionTerminateCluster is a SpotProvisioningTimeoutAction enum value
	SpotProvisioningTimeoutActionTerminateCluster = "TERMINATE_CLUSTER"
)
View Source
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"
)
View Source
const (
	// StepCancellationOptionSendInterrupt is a StepCancellationOption enum value
	StepCancellationOptionSendInterrupt = "SEND_INTERRUPT"

	// StepCancellationOptionTerminateProcess is a StepCancellationOption enum value
	StepCancellationOptionTerminateProcess = "TERMINATE_PROCESS"
)
View Source
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"
)
View Source
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"
)
View Source
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"
)
View Source
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 Amazon EMR
	// service.
	ErrCodeInternalServerException = "InternalServerException"

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

Service information constants

View Source
const (
	// ExecutionEngineTypeEmr is a ExecutionEngineType enum value
	ExecutionEngineTypeEmr = "EMR"
)
View Source
const (
	// OnDemandCapacityReservationUsageStrategyUseCapacityReservationsFirst is a OnDemandCapacityReservationUsageStrategy enum value
	OnDemandCapacityReservationUsageStrategyUseCapacityReservationsFirst = "use-capacity-reservations-first"
)
View Source
const (
	// OnDemandProvisioningAllocationStrategyLowestPrice is a OnDemandProvisioningAllocationStrategy enum value
	OnDemandProvisioningAllocationStrategyLowestPrice = "lowest-price"
)
View Source
const (
	// OutputNotebookFormatHtml is a OutputNotebookFormat enum value
	OutputNotebookFormatHtml = "HTML"
)
View Source
const (
	// StepStateChangeReasonCodeNone is a StepStateChangeReasonCode enum value
	StepStateChangeReasonCodeNone = "NONE"
)

Variables

This section is empty.

Functions

func ActionOnFailure_Values added in v1.34.3

func ActionOnFailure_Values() []string

ActionOnFailure_Values returns all elements of the ActionOnFailure enum

func AdjustmentType_Values added in v1.34.3

func AdjustmentType_Values() []string

AdjustmentType_Values returns all elements of the AdjustmentType enum

func AuthMode_Values added in v1.35.34

func AuthMode_Values() []string

AuthMode_Values returns all elements of the AuthMode enum

func AutoScalingPolicyStateChangeReasonCode_Values added in v1.34.3

func AutoScalingPolicyStateChangeReasonCode_Values() []string

AutoScalingPolicyStateChangeReasonCode_Values returns all elements of the AutoScalingPolicyStateChangeReasonCode enum

func AutoScalingPolicyState_Values added in v1.34.3

func AutoScalingPolicyState_Values() []string

AutoScalingPolicyState_Values returns all elements of the AutoScalingPolicyState enum

func CancelStepsRequestStatus_Values added in v1.34.3

func CancelStepsRequestStatus_Values() []string

CancelStepsRequestStatus_Values returns all elements of the CancelStepsRequestStatus enum

func ClusterStateChangeReasonCode_Values added in v1.34.3

func ClusterStateChangeReasonCode_Values() []string

ClusterStateChangeReasonCode_Values returns all elements of the ClusterStateChangeReasonCode enum

func ClusterState_Values added in v1.34.3

func ClusterState_Values() []string

ClusterState_Values returns all elements of the ClusterState enum

func ComparisonOperator_Values added in v1.34.3

func ComparisonOperator_Values() []string

ComparisonOperator_Values returns all elements of the ComparisonOperator enum

func ComputeLimitsUnitType_Values added in v1.34.3

func ComputeLimitsUnitType_Values() []string

ComputeLimitsUnitType_Values returns all elements of the ComputeLimitsUnitType enum

func ExecutionEngineType_Values added in v1.34.13

func ExecutionEngineType_Values() []string

ExecutionEngineType_Values returns all elements of the ExecutionEngineType enum

func IdcUserAssignment_Values added in v1.48.0

func IdcUserAssignment_Values() []string

IdcUserAssignment_Values returns all elements of the IdcUserAssignment enum

func IdentityType_Values added in v1.35.34

func IdentityType_Values() []string

IdentityType_Values returns all elements of the IdentityType enum

func InstanceCollectionType_Values added in v1.34.3

func InstanceCollectionType_Values() []string

InstanceCollectionType_Values returns all elements of the InstanceCollectionType enum

func InstanceFleetStateChangeReasonCode_Values added in v1.34.3

func InstanceFleetStateChangeReasonCode_Values() []string

InstanceFleetStateChangeReasonCode_Values returns all elements of the InstanceFleetStateChangeReasonCode enum

func InstanceFleetState_Values added in v1.34.3

func InstanceFleetState_Values() []string

InstanceFleetState_Values returns all elements of the InstanceFleetState enum

func InstanceFleetType_Values added in v1.34.3

func InstanceFleetType_Values() []string

InstanceFleetType_Values returns all elements of the InstanceFleetType enum

func InstanceGroupStateChangeReasonCode_Values added in v1.34.3

func InstanceGroupStateChangeReasonCode_Values() []string

InstanceGroupStateChangeReasonCode_Values returns all elements of the InstanceGroupStateChangeReasonCode enum

func InstanceGroupState_Values added in v1.34.3

func InstanceGroupState_Values() []string

InstanceGroupState_Values returns all elements of the InstanceGroupState enum

func InstanceGroupType_Values added in v1.34.3

func InstanceGroupType_Values() []string

InstanceGroupType_Values returns all elements of the InstanceGroupType enum

func InstanceRoleType_Values added in v1.34.3

func InstanceRoleType_Values() []string

InstanceRoleType_Values returns all elements of the InstanceRoleType enum

func InstanceStateChangeReasonCode_Values added in v1.34.3

func InstanceStateChangeReasonCode_Values() []string

InstanceStateChangeReasonCode_Values returns all elements of the InstanceStateChangeReasonCode enum

func InstanceState_Values added in v1.34.3

func InstanceState_Values() []string

InstanceState_Values returns all elements of the InstanceState enum

func JobFlowExecutionState_Values added in v1.34.3

func JobFlowExecutionState_Values() []string

JobFlowExecutionState_Values returns all elements of the JobFlowExecutionState enum

func MarketType_Values added in v1.34.3

func MarketType_Values() []string

MarketType_Values returns all elements of the MarketType enum

func NotebookExecutionStatus_Values added in v1.34.13

func NotebookExecutionStatus_Values() []string

NotebookExecutionStatus_Values returns all elements of the NotebookExecutionStatus enum

func OnDemandCapacityReservationPreference_Values added in v1.37.26

func OnDemandCapacityReservationPreference_Values() []string

OnDemandCapacityReservationPreference_Values returns all elements of the OnDemandCapacityReservationPreference enum

func OnDemandCapacityReservationUsageStrategy_Values added in v1.37.26

func OnDemandCapacityReservationUsageStrategy_Values() []string

OnDemandCapacityReservationUsageStrategy_Values returns all elements of the OnDemandCapacityReservationUsageStrategy enum

func OnDemandProvisioningAllocationStrategy_Values added in v1.34.3

func OnDemandProvisioningAllocationStrategy_Values() []string

OnDemandProvisioningAllocationStrategy_Values returns all elements of the OnDemandProvisioningAllocationStrategy enum

func OutputNotebookFormat_Values added in v1.44.261

func OutputNotebookFormat_Values() []string

OutputNotebookFormat_Values returns all elements of the OutputNotebookFormat enum

func PlacementGroupStrategy_Values added in v1.35.0

func PlacementGroupStrategy_Values() []string

PlacementGroupStrategy_Values returns all elements of the PlacementGroupStrategy enum

func ReconfigurationType_Values added in v1.44.11

func ReconfigurationType_Values() []string

ReconfigurationType_Values returns all elements of the ReconfigurationType enum

func RepoUpgradeOnBoot_Values added in v1.34.3

func RepoUpgradeOnBoot_Values() []string

RepoUpgradeOnBoot_Values returns all elements of the RepoUpgradeOnBoot enum

func ScaleDownBehavior_Values added in v1.34.3

func ScaleDownBehavior_Values() []string

ScaleDownBehavior_Values returns all elements of the ScaleDownBehavior enum

func SpotProvisioningAllocationStrategy_Values added in v1.34.3

func SpotProvisioningAllocationStrategy_Values() []string

SpotProvisioningAllocationStrategy_Values returns all elements of the SpotProvisioningAllocationStrategy enum

func SpotProvisioningTimeoutAction_Values added in v1.34.3

func SpotProvisioningTimeoutAction_Values() []string

SpotProvisioningTimeoutAction_Values returns all elements of the SpotProvisioningTimeoutAction enum

func Statistic_Values added in v1.34.3

func Statistic_Values() []string

Statistic_Values returns all elements of the Statistic enum

func StepCancellationOption_Values added in v1.34.3

func StepCancellationOption_Values() []string

StepCancellationOption_Values returns all elements of the StepCancellationOption enum

func StepExecutionState_Values added in v1.34.3

func StepExecutionState_Values() []string

StepExecutionState_Values returns all elements of the StepExecutionState enum

func StepStateChangeReasonCode_Values added in v1.34.3

func StepStateChangeReasonCode_Values() []string

StepStateChangeReasonCode_Values returns all elements of the StepStateChangeReasonCode enum

func StepState_Values added in v1.34.3

func StepState_Values() []string

StepState_Values returns all elements of the StepState enum

func Unit_Values added in v1.34.3

func Unit_Values() []string

Unit_Values returns all elements of the Unit enum

Types

type AddInstanceFleetInput added in v1.7.8

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 added in v1.7.8

func (s AddInstanceFleetInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*AddInstanceFleetInput) SetClusterId added in v1.7.8

SetClusterId sets the ClusterId field's value.

func (*AddInstanceFleetInput) SetInstanceFleet added in v1.7.8

SetInstanceFleet sets the InstanceFleet field's value.

func (AddInstanceFleetInput) String added in v1.7.8

func (s AddInstanceFleetInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*AddInstanceFleetInput) Validate added in v1.7.8

func (s *AddInstanceFleetInput) Validate() error

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

type AddInstanceFleetOutput added in v1.7.8

type AddInstanceFleetOutput struct {

	// The Amazon Resource Name of the cluster.
	ClusterArn *string `min:"20" type:"string"`

	// 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 added in v1.7.8

func (s AddInstanceFleetOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*AddInstanceFleetOutput) SetClusterArn added in v1.25.36

SetClusterArn sets the ClusterArn field's value.

func (*AddInstanceFleetOutput) SetClusterId added in v1.7.8

SetClusterId sets the ClusterId field's value.

func (*AddInstanceFleetOutput) SetInstanceFleetId added in v1.7.8

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

SetInstanceFleetId sets the InstanceFleetId field's value.

func (AddInstanceFleetOutput) String added in v1.7.8

func (s AddInstanceFleetOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type AddInstanceGroupsInput

type AddInstanceGroupsInput struct {

	// Instance groups to add.
	//
	// InstanceGroups is a required field
	InstanceGroups []*InstanceGroupConfig `type:"list" required:"true"`

	// Job flow in which to add the instance groups.
	//
	// JobFlowId is a required field
	JobFlowId *string `type:"string" required:"true"`
	// contains filtered or unexported fields
}

Input to an AddInstanceGroups call.

func (AddInstanceGroupsInput) GoString added in v0.6.5

func (s AddInstanceGroupsInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*AddInstanceGroupsInput) SetInstanceGroups added in v1.5.0

SetInstanceGroups sets the InstanceGroups field's value.

func (*AddInstanceGroupsInput) SetJobFlowId added in v1.5.0

SetJobFlowId sets the JobFlowId field's value.

func (AddInstanceGroupsInput) String added in v0.6.5

func (s AddInstanceGroupsInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*AddInstanceGroupsInput) Validate added in v1.1.21

func (s *AddInstanceGroupsInput) Validate() error

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

type AddInstanceGroupsOutput

type AddInstanceGroupsOutput struct {

	// The Amazon Resource Name of the cluster.
	ClusterArn *string `min:"20" type:"string"`

	// Instance group IDs of the newly created instance groups.
	InstanceGroupIds []*string `type:"list"`

	// The job flow ID in which the instance groups are added.
	JobFlowId *string `type:"string"`
	// contains filtered or unexported fields
}

Output from an AddInstanceGroups call.

func (AddInstanceGroupsOutput) GoString added in v0.6.5

func (s AddInstanceGroupsOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*AddInstanceGroupsOutput) SetClusterArn added in v1.25.36

SetClusterArn sets the ClusterArn field's value.

func (*AddInstanceGroupsOutput) SetInstanceGroupIds added in v1.5.0

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

SetInstanceGroupIds sets the InstanceGroupIds field's value.

func (*AddInstanceGroupsOutput) SetJobFlowId added in v1.5.0

SetJobFlowId sets the JobFlowId field's value.

func (AddInstanceGroupsOutput) String added in v0.6.5

func (s AddInstanceGroupsOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type AddJobFlowStepsInput

type AddJobFlowStepsInput struct {

	// The Amazon Resource Name (ARN) of the runtime role for a step on the cluster.
	// The runtime role can be a cross-account IAM role. The runtime role ARN is
	// a combination of account ID, role name, and role type using the following
	// format: arn:partition:service:region:account:resource.
	//
	// For example, arn:aws:IAM::1234567890:role/ReadOnly is a correctly formatted
	// runtime role ARN.
	ExecutionRoleArn *string `min:"20" type:"string"`

	// A string that uniquely identifies the job flow. This identifier is returned
	// by RunJobFlow and can also be obtained from ListClusters.
	//
	// JobFlowId is a required field
	JobFlowId *string `type:"string" required:"true"`

	// A list of StepConfig to be executed by the job flow.
	//
	// Steps is a required field
	Steps []*StepConfig `type:"list" required:"true"`
	// contains filtered or unexported fields
}

The input argument to the AddJobFlowSteps operation.

func (AddJobFlowStepsInput) GoString added in v0.6.5

func (s AddJobFlowStepsInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*AddJobFlowStepsInput) SetExecutionRoleArn added in v1.44.46

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

SetExecutionRoleArn sets the ExecutionRoleArn field's value.

func (*AddJobFlowStepsInput) SetJobFlowId added in v1.5.0

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

SetJobFlowId sets the JobFlowId field's value.

func (*AddJobFlowStepsInput) SetSteps added in v1.5.0

SetSteps sets the Steps field's value.

func (AddJobFlowStepsInput) String added in v0.6.5

func (s AddJobFlowStepsInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*AddJobFlowStepsInput) Validate added in v1.1.21

func (s *AddJobFlowStepsInput) Validate() error

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

type AddJobFlowStepsOutput

type AddJobFlowStepsOutput struct {

	// The identifiers of the list of steps added to the job flow.
	StepIds []*string `type:"list"`
	// contains filtered or unexported fields
}

The output for the AddJobFlowSteps operation.

func (AddJobFlowStepsOutput) GoString added in v0.6.5

func (s AddJobFlowStepsOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*AddJobFlowStepsOutput) SetStepIds added in v1.5.0

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

SetStepIds sets the StepIds field's value.

func (AddJobFlowStepsOutput) String added in v0.6.5

func (s AddJobFlowStepsOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type AddTagsInput

type AddTagsInput struct {

	// The Amazon EMR resource identifier to which tags will be added. For example,
	// a cluster identifier or an Amazon EMR Studio ID.
	//
	// ResourceId is a required field
	ResourceId *string `type:"string" required:"true"`

	// A list of tags to associate with a resource. 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 an Amazon EMR resource and a list of tags to attach.

func (AddTagsInput) GoString added in v0.6.5

func (s AddTagsInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*AddTagsInput) SetResourceId added in v1.5.0

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

SetResourceId sets the ResourceId field's value.

func (*AddTagsInput) SetTags added in v1.5.0

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

SetTags sets the Tags field's value.

func (AddTagsInput) String added in v0.6.5

func (s AddTagsInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*AddTagsInput) Validate added in v1.1.21

func (s *AddTagsInput) Validate() error

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

type AddTagsOutput

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

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

func (AddTagsOutput) GoString added in v0.6.5

func (s AddTagsOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (AddTagsOutput) String added in v0.6.5

func (s AddTagsOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type Application

type Application struct {

	// This option is for advanced users only. This is meta information about third-party
	// applications that third-party vendors use for testing purposes.
	AdditionalInfo map[string]*string `type:"map"`

	// Arguments for Amazon EMR to pass to the application.
	Args []*string `type:"list"`

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

	// The version of the application.
	Version *string `type:"string"`
	// contains filtered or unexported fields
}

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 added in v0.6.5

func (s Application) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*Application) SetAdditionalInfo added in v1.5.0

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

SetAdditionalInfo sets the AdditionalInfo field's value.

func (*Application) SetArgs added in v1.5.0

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

SetArgs sets the Args field's value.

func (*Application) SetName added in v1.5.0

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

SetName sets the Name field's value.

func (*Application) SetVersion added in v1.5.0

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

SetVersion sets the Version field's value.

func (Application) String added in v0.6.5

func (s Application) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type AutoScalingPolicy added in v1.5.8

type AutoScalingPolicy struct {

	// The upper and lower Amazon 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 Amazon EC2 instances in response to the value of a CloudWatch metric. See PutAutoScalingPolicy.

func (AutoScalingPolicy) GoString added in v1.5.8

func (s AutoScalingPolicy) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*AutoScalingPolicy) SetConstraints added in v1.5.8

SetConstraints sets the Constraints field's value.

func (*AutoScalingPolicy) SetRules added in v1.5.8

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

SetRules sets the Rules field's value.

func (AutoScalingPolicy) String added in v1.5.8

func (s AutoScalingPolicy) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*AutoScalingPolicy) Validate added in v1.5.8

func (s *AutoScalingPolicy) Validate() error

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

type AutoScalingPolicyDescription added in v1.5.8

type AutoScalingPolicyDescription struct {

	// The upper and lower Amazon 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 Amazon EC2 instances in response to the value of a CloudWatch metric. See PutAutoScalingPolicy.

func (AutoScalingPolicyDescription) GoString added in v1.5.8

func (s AutoScalingPolicyDescription) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*AutoScalingPolicyDescription) SetConstraints added in v1.5.8

SetConstraints sets the Constraints field's value.

func (*AutoScalingPolicyDescription) SetRules added in v1.5.8

SetRules sets the Rules field's value.

func (*AutoScalingPolicyDescription) SetStatus added in v1.5.8

SetStatus sets the Status field's value.

func (AutoScalingPolicyDescription) String added in v1.5.8

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type AutoScalingPolicyStateChangeReason added in v1.5.8

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 added in v1.5.8

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*AutoScalingPolicyStateChangeReason) SetCode added in v1.5.8

SetCode sets the Code field's value.

func (*AutoScalingPolicyStateChangeReason) SetMessage added in v1.5.8

SetMessage sets the Message field's value.

func (AutoScalingPolicyStateChangeReason) String added in v1.5.8

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type AutoScalingPolicyStatus added in v1.5.8

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 added in v1.5.8

func (s AutoScalingPolicyStatus) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*AutoScalingPolicyStatus) SetState added in v1.5.8

SetState sets the State field's value.

func (*AutoScalingPolicyStatus) SetStateChangeReason added in v1.5.8

SetStateChangeReason sets the StateChangeReason field's value.

func (AutoScalingPolicyStatus) String added in v1.5.8

func (s AutoScalingPolicyStatus) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type AutoTerminationPolicy added in v1.40.32

type AutoTerminationPolicy struct {

	// Specifies the amount of idle time in seconds after which the cluster automatically
	// terminates. You can specify a minimum of 60 seconds and a maximum of 604800
	// seconds (seven days).
	IdleTimeout *int64 `type:"long"`
	// contains filtered or unexported fields
}

An auto-termination policy for an Amazon EMR cluster. An auto-termination policy defines the amount of idle time in seconds after which a cluster automatically terminates. For alternative cluster termination options, see Control cluster termination (https://docs.aws.amazon.com/emr/latest/ManagementGuide/emr-plan-termination.html).

func (AutoTerminationPolicy) GoString added in v1.40.32

func (s AutoTerminationPolicy) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*AutoTerminationPolicy) SetIdleTimeout added in v1.40.32

func (s *AutoTerminationPolicy) SetIdleTimeout(v int64) *AutoTerminationPolicy

SetIdleTimeout sets the IdleTimeout field's value.

func (AutoTerminationPolicy) String added in v1.40.32

func (s AutoTerminationPolicy) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type BlockPublicAccessConfiguration added in v1.23.3

type BlockPublicAccessConfiguration struct {

	// Indicates whether Amazon EMR block public access is enabled (true) or disabled
	// (false). By default, the value is false for accounts that have created Amazon
	// EMR clusters before July 2019. For accounts created after this, the default
	// is true.
	//
	// BlockPublicSecurityGroupRules is a required field
	BlockPublicSecurityGroupRules *bool `type:"boolean" required:"true"`

	// Specifies ports and port ranges that are permitted to have security group
	// rules that allow inbound traffic from all public sources. For example, if
	// Port 23 (Telnet) is specified for PermittedPublicSecurityGroupRuleRanges,
	// Amazon EMR allows cluster creation if a security group associated with the
	// cluster has a rule that allows inbound traffic on Port 23 from IPv4 0.0.0.0/0
	// or IPv6 port ::/0 as the source.
	//
	// By default, Port 22, which is used for SSH access to the cluster Amazon EC2
	// instances, is in the list of PermittedPublicSecurityGroupRuleRanges.
	PermittedPublicSecurityGroupRuleRanges []*PortRange `type:"list"`
	// contains filtered or unexported fields
}

A configuration for Amazon EMR block public access. When BlockPublicSecurityGroupRules is set to true, Amazon EMR prevents cluster creation if one of the cluster's security groups has a rule that allows inbound traffic from 0.0.0.0/0 or ::/0 on a port, unless the port is specified as an exception using PermittedPublicSecurityGroupRuleRanges.

func (BlockPublicAccessConfiguration) GoString added in v1.23.3

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*BlockPublicAccessConfiguration) SetBlockPublicSecurityGroupRules added in v1.23.3

func (s *BlockPublicAccessConfiguration) SetBlockPublicSecurityGroupRules(v bool) *BlockPublicAccessConfiguration

SetBlockPublicSecurityGroupRules sets the BlockPublicSecurityGroupRules field's value.

func (*BlockPublicAccessConfiguration) SetPermittedPublicSecurityGroupRuleRanges added in v1.23.3

func (s *BlockPublicAccessConfiguration) SetPermittedPublicSecurityGroupRuleRanges(v []*PortRange) *BlockPublicAccessConfiguration

SetPermittedPublicSecurityGroupRuleRanges sets the PermittedPublicSecurityGroupRuleRanges field's value.

func (BlockPublicAccessConfiguration) String added in v1.23.3

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*BlockPublicAccessConfiguration) Validate added in v1.23.3

func (s *BlockPublicAccessConfiguration) Validate() error

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

type BlockPublicAccessConfigurationMetadata added in v1.23.3

type BlockPublicAccessConfigurationMetadata struct {

	// The Amazon Resource Name that created or last modified the configuration.
	//
	// CreatedByArn is a required field
	CreatedByArn *string `min:"20" type:"string" required:"true"`

	// The date and time that the configuration was created.
	//
	// CreationDateTime is a required field
	CreationDateTime *time.Time `type:"timestamp" required:"true"`
	// contains filtered or unexported fields
}

Properties that describe the Amazon Web Services principal that created the BlockPublicAccessConfiguration using the PutBlockPublicAccessConfiguration action as well as the date and time that the configuration was created. Each time a configuration for block public access is updated, Amazon EMR updates this metadata.

func (BlockPublicAccessConfigurationMetadata) GoString added in v1.23.3

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*BlockPublicAccessConfigurationMetadata) SetCreatedByArn added in v1.23.3

SetCreatedByArn sets the CreatedByArn field's value.

func (*BlockPublicAccessConfigurationMetadata) SetCreationDateTime added in v1.23.3

SetCreationDateTime sets the CreationDateTime field's value.

func (BlockPublicAccessConfigurationMetadata) String added in v1.23.3

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type BootstrapActionConfig

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 added in v0.6.5

func (s BootstrapActionConfig) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*BootstrapActionConfig) SetName added in v1.5.0

SetName sets the Name field's value.

func (*BootstrapActionConfig) SetScriptBootstrapAction added in v1.5.0

SetScriptBootstrapAction sets the ScriptBootstrapAction field's value.

func (BootstrapActionConfig) String added in v0.6.5

func (s BootstrapActionConfig) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*BootstrapActionConfig) Validate added in v1.1.21

func (s *BootstrapActionConfig) Validate() error

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

type BootstrapActionDetail

type BootstrapActionDetail struct {

	// A description of the bootstrap action.
	BootstrapActionConfig *BootstrapActionConfig `type:"structure"`
	// contains filtered or unexported fields
}

Reports the configuration of a bootstrap action in a cluster (job flow).

func (BootstrapActionDetail) GoString added in v0.6.5

func (s BootstrapActionDetail) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*BootstrapActionDetail) SetBootstrapActionConfig added in v1.5.0

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

SetBootstrapActionConfig sets the BootstrapActionConfig field's value.

func (BootstrapActionDetail) String added in v0.6.5

func (s BootstrapActionDetail) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type CancelStepsInfo added in v1.5.8

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 added in v1.5.8

func (s CancelStepsInfo) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*CancelStepsInfo) SetReason added in v1.5.8

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

SetReason sets the Reason field's value.

func (*CancelStepsInfo) SetStatus added in v1.5.8

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

SetStatus sets the Status field's value.

func (*CancelStepsInfo) SetStepId added in v1.5.8

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

SetStepId sets the StepId field's value.

func (CancelStepsInfo) String added in v1.5.8

func (s CancelStepsInfo) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type CancelStepsInput added in v1.5.8

type CancelStepsInput struct {

	// The ClusterID for the specified steps that will be canceled. Use RunJobFlow
	// and ListClusters to get ClusterIDs.
	//
	// ClusterId is a required field
	ClusterId *string `type:"string" required:"true"`

	// The option to choose to cancel RUNNING steps. By default, the value is SEND_INTERRUPT.
	StepCancellationOption *string `type:"string" enum:"StepCancellationOption"`

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

The input argument to the CancelSteps operation.

func (CancelStepsInput) GoString added in v1.5.8

func (s CancelStepsInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*CancelStepsInput) SetClusterId added in v1.5.8

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

SetClusterId sets the ClusterId field's value.

func (*CancelStepsInput) SetStepCancellationOption added in v1.25.41

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

SetStepCancellationOption sets the StepCancellationOption field's value.

func (*CancelStepsInput) SetStepIds added in v1.5.8

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

SetStepIds sets the StepIds field's value.

func (CancelStepsInput) String added in v1.5.8

func (s CancelStepsInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*CancelStepsInput) Validate added in v1.25.41

func (s *CancelStepsInput) Validate() error

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

type CancelStepsOutput added in v1.5.8

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 added in v1.5.8

func (s CancelStepsOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*CancelStepsOutput) SetCancelStepsInfoList added in v1.5.8

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

SetCancelStepsInfoList sets the CancelStepsInfoList field's value.

func (CancelStepsOutput) String added in v1.5.8

func (s CancelStepsOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type CloudWatchAlarmDefinition added in v1.5.8

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, in five-minute increments, 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. CloudWatch metrics
	// for Amazon EMR are emitted every five minutes (300 seconds), so if you specify
	// a CloudWatch metric, 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 added in v1.5.8

func (s CloudWatchAlarmDefinition) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*CloudWatchAlarmDefinition) SetComparisonOperator added in v1.5.8

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

SetComparisonOperator sets the ComparisonOperator field's value.

func (*CloudWatchAlarmDefinition) SetDimensions added in v1.5.8

SetDimensions sets the Dimensions field's value.

func (*CloudWatchAlarmDefinition) SetEvaluationPeriods added in v1.5.8

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

SetEvaluationPeriods sets the EvaluationPeriods field's value.

func (*CloudWatchAlarmDefinition) SetMetricName added in v1.5.8

SetMetricName sets the MetricName field's value.

func (*CloudWatchAlarmDefinition) SetNamespace added in v1.5.8

SetNamespace sets the Namespace field's value.

func (*CloudWatchAlarmDefinition) SetPeriod added in v1.5.8

SetPeriod sets the Period field's value.

func (*CloudWatchAlarmDefinition) SetStatistic added in v1.5.8

SetStatistic sets the Statistic field's value.

func (*CloudWatchAlarmDefinition) SetThreshold added in v1.5.8

SetThreshold sets the Threshold field's value.

func (*CloudWatchAlarmDefinition) SetUnit added in v1.5.8

SetUnit sets the Unit field's value.

func (CloudWatchAlarmDefinition) String added in v1.5.8

func (s CloudWatchAlarmDefinition) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*CloudWatchAlarmDefinition) Validate added in v1.5.8

func (s *CloudWatchAlarmDefinition) Validate() error

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

type Cluster

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 Amazon EC2 instances in an instance group.
	AutoScalingRole *string `type:"string"`

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

	// The Amazon Resource Name of the cluster.
	ClusterArn *string `min:"20" type:"string"`

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

	// Available only in Amazon EMR releases 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 IOPS, of the Amazon EBS root device volume of the Linux AMI that is used
	// for each Amazon EC2 instance. Available in Amazon EMR releases 6.15.0 and
	// later.
	EbsRootVolumeIops *int64 `type:"integer"`

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

	// The throughput, in MiB/s, of the Amazon EBS root device volume of the Linux
	// AMI that is used for each Amazon EC2 instance. Available in Amazon EMR releases
	// 6.15.0 and later.
	EbsRootVolumeThroughput *int64 `type:"integer"`

	// Provides information about the Amazon 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 releases
	// 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 Amazon EMR Management Guide.
	KerberosAttributes *KerberosAttributes `type:"structure"`

	// The KMS key used for encrypting log files. This attribute is only available
	// with Amazon EMR 5.30.0 and later, excluding Amazon EMR 6.0.0.
	LogEncryptionKmsKeyId *string `type:"string"`

	// 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. This parameter can't contain the characters <, >,
	// $, |, or ` (backtick).
	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 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 Linux release specified in a cluster launch RunJobFlow request.
	// If no Amazon Linux release was specified, the default Amazon Linux release
	// is shown in the response.
	OSReleaseLabel *string `type:"string"`

	// The Amazon Resource Name (ARN) of the Outpost where the cluster is launched.
	OutpostArn *string `type:"string"`

	// Placement group configured for an Amazon EMR cluster.
	PlacementGroups []*PlacementGroupConfig `type:"list"`

	// 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 such as 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 version 4.0 and later. Earlier versions
	// use AmiVersion.
	ReleaseLabel *string `type:"string"`

	// Applies only when CustomAmiID is used. Specifies the type of updates that
	// the Amazon Linux AMI package repositories apply 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 adds nodes to a deny list 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 releases 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 Amazon EMR assumes in order to access Amazon Web Services
	// resources on your behalf.
	ServiceRole *string `type:"string"`

	// The current status details about the cluster.
	Status *ClusterStatus `type:"structure"`

	// Specifies the number of steps that can be executed concurrently.
	StepConcurrencyLevel *int64 `type:"integer"`

	// A list of tags associated with a cluster.
	Tags []*Tag `type:"list"`

	// Indicates whether Amazon EMR will lock the cluster to prevent the Amazon
	// 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 Amazon EMR should gracefully replace Amazon EC2 core instances
	// that have degraded within the cluster.
	UnhealthyNodeReplacement *bool `type:"boolean"`

	// Indicates whether the cluster is visible to IAM principals in the Amazon
	// Web Services account associated with the cluster. When true, IAM principals
	// in the Amazon Web Services account can perform Amazon EMR cluster actions
	// on the cluster that their IAM policies allow. When false, only the IAM principal
	// that created the cluster and the Amazon Web Services account root user can
	// perform Amazon EMR actions, regardless of IAM permissions policies attached
	// to other IAM principals.
	//
	// The default value is true if a value is not provided when creating a cluster
	// using the Amazon EMR API RunJobFlow command, the CLI create-cluster (https://docs.aws.amazon.com/cli/latest/reference/emr/create-cluster.html)
	// command, or the Amazon Web Services Management Console.
	VisibleToAllUsers *bool `type:"boolean"`
	// contains filtered or unexported fields
}

The detailed description of the cluster.

func (Cluster) GoString added in v0.6.5

func (s Cluster) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*Cluster) SetApplications added in v1.5.0

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

SetApplications sets the Applications field's value.

func (*Cluster) SetAutoScalingRole added in v1.5.8

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

SetAutoScalingRole sets the AutoScalingRole field's value.

func (*Cluster) SetAutoTerminate added in v1.5.0

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

SetAutoTerminate sets the AutoTerminate field's value.

func (*Cluster) SetClusterArn added in v1.25.36

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

SetClusterArn sets the ClusterArn field's value.

func (*Cluster) SetConfigurations added in v1.5.0

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

SetConfigurations sets the Configurations field's value.

func (*Cluster) SetCustomAmiId added in v1.10.14

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

SetCustomAmiId sets the CustomAmiId field's value.

func (*Cluster) SetEbsRootVolumeIops added in v1.46.6

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

SetEbsRootVolumeIops sets the EbsRootVolumeIops field's value.

func (*Cluster) SetEbsRootVolumeSize added in v1.10.14

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

SetEbsRootVolumeSize sets the EbsRootVolumeSize field's value.

func (*Cluster) SetEbsRootVolumeThroughput added in v1.46.6

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

SetEbsRootVolumeThroughput sets the EbsRootVolumeThroughput field's value.

func (*Cluster) SetEc2InstanceAttributes added in v1.5.0

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

SetEc2InstanceAttributes sets the Ec2InstanceAttributes field's value.

func (*Cluster) SetId added in v1.5.0

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

SetId sets the Id field's value.

func (*Cluster) SetInstanceCollectionType added in v1.7.8

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

SetInstanceCollectionType sets the InstanceCollectionType field's value.

func (*Cluster) SetKerberosAttributes added in v1.12.32

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

SetKerberosAttributes sets the KerberosAttributes field's value.

func (*Cluster) SetLogEncryptionKmsKeyId added in v1.31.8

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

SetLogEncryptionKmsKeyId sets the LogEncryptionKmsKeyId field's value.

func (*Cluster) SetLogUri added in v1.5.0

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

SetLogUri sets the LogUri field's value.

func (*Cluster) SetMasterPublicDnsName added in v1.5.0

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

SetMasterPublicDnsName sets the MasterPublicDnsName field's value.

func (*Cluster) SetName added in v1.5.0

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

SetName sets the Name field's value.

func (*Cluster) SetNormalizedInstanceHours added in v1.5.0

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

SetNormalizedInstanceHours sets the NormalizedInstanceHours field's value.

func (*Cluster) SetOSReleaseLabel added in v1.44.11

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

SetOSReleaseLabel sets the OSReleaseLabel field's value.

func (*Cluster) SetOutpostArn added in v1.25.41

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

SetOutpostArn sets the OutpostArn field's value.

func (*Cluster) SetPlacementGroups added in v1.35.0

func (s *Cluster) SetPlacementGroups(v []*PlacementGroupConfig) *Cluster

SetPlacementGroups sets the PlacementGroups field's value.

func (*Cluster) SetReleaseLabel added in v1.5.0

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

SetReleaseLabel sets the ReleaseLabel field's value.

func (*Cluster) SetRepoUpgradeOnBoot added in v1.10.14

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

SetRepoUpgradeOnBoot sets the RepoUpgradeOnBoot field's value.

func (*Cluster) SetRequestedAmiVersion added in v1.5.0

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

SetRequestedAmiVersion sets the RequestedAmiVersion field's value.

func (*Cluster) SetRunningAmiVersion added in v1.5.0

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

SetRunningAmiVersion sets the RunningAmiVersion field's value.

func (*Cluster) SetScaleDownBehavior added in v1.5.8

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

SetScaleDownBehavior sets the ScaleDownBehavior field's value.

func (*Cluster) SetSecurityConfiguration added in v1.5.0

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

SetSecurityConfiguration sets the SecurityConfiguration field's value.

func (*Cluster) SetServiceRole added in v1.5.0

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

SetServiceRole sets the ServiceRole field's value.

func (*Cluster) SetStatus added in v1.5.0

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

SetStatus sets the Status field's value.

func (*Cluster) SetStepConcurrencyLevel added in v1.25.41

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

SetStepConcurrencyLevel sets the StepConcurrencyLevel field's value.

func (*Cluster) SetTags added in v1.5.0

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

SetTags sets the Tags field's value.

func (*Cluster) SetTerminationProtected added in v1.5.0

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

SetTerminationProtected sets the TerminationProtected field's value.

func (*Cluster) SetUnhealthyNodeReplacement added in v1.50.20

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

SetUnhealthyNodeReplacement sets the UnhealthyNodeReplacement field's value.

func (*Cluster) SetVisibleToAllUsers added in v1.5.0

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

SetVisibleToAllUsers sets the VisibleToAllUsers field's value.

func (Cluster) String added in v0.6.5

func (s Cluster) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type ClusterStateChangeReason

type ClusterStateChangeReason struct {

	// The programmatic code for the state change reason.
	Code *string `type:"string" enum:"ClusterStateChangeReasonCode"`

	// The descriptive message for the state change reason.
	Message *string `type:"string"`
	// contains filtered or unexported fields
}

The reason that the cluster changed to its current state.

func (ClusterStateChangeReason) GoString added in v0.6.5

func (s ClusterStateChangeReason) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ClusterStateChangeReason) SetCode added in v1.5.0

SetCode sets the Code field's value.

func (*ClusterStateChangeReason) SetMessage added in v1.5.0

SetMessage sets the Message field's value.

func (ClusterStateChangeReason) String added in v0.6.5

func (s ClusterStateChangeReason) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type ClusterStatus

type ClusterStatus struct {

	// A list of tuples that provides information about the errors that caused a
	// cluster to terminate. This structure can contain up to 10 different ErrorDetail
	// tuples.
	ErrorDetails []*ErrorDetail `type:"list"`

	// The current state of the cluster.
	State *string `type:"string" enum:"ClusterState"`

	// The reason for the cluster status change.
	StateChangeReason *ClusterStateChangeReason `type:"structure"`

	// A timeline that represents the status of a cluster over the lifetime of the
	// cluster.
	Timeline *ClusterTimeline `type:"structure"`
	// contains filtered or unexported fields
}

The detailed status of the cluster.

func (ClusterStatus) GoString added in v0.6.5

func (s ClusterStatus) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ClusterStatus) SetErrorDetails added in v1.44.233

func (s *ClusterStatus) SetErrorDetails(v []*ErrorDetail) *ClusterStatus

SetErrorDetails sets the ErrorDetails field's value.

func (*ClusterStatus) SetState added in v1.5.0

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

SetState sets the State field's value.

func (*ClusterStatus) SetStateChangeReason added in v1.5.0

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

SetStateChangeReason sets the StateChangeReason field's value.

func (*ClusterStatus) SetTimeline added in v1.5.0

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

SetTimeline sets the Timeline field's value.

func (ClusterStatus) String added in v0.6.5

func (s ClusterStatus) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type ClusterSummary

type ClusterSummary struct {

	// The Amazon Resource Name of the cluster.
	ClusterArn *string `min:"20" type:"string"`

	// 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 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 Resource Name (ARN) of the Outpost where the cluster is launched.
	OutpostArn *string `type:"string"`

	// The details about the current status of the cluster.
	Status *ClusterStatus `type:"structure"`
	// contains filtered or unexported fields
}

The summary description of the cluster.

func (ClusterSummary) GoString added in v0.6.5

func (s ClusterSummary) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ClusterSummary) SetClusterArn added in v1.25.36

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

SetClusterArn sets the ClusterArn field's value.

func (*ClusterSummary) SetId added in v1.5.0

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

SetId sets the Id field's value.

func (*ClusterSummary) SetName added in v1.5.0

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

SetName sets the Name field's value.

func (*ClusterSummary) SetNormalizedInstanceHours added in v1.5.0

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

SetNormalizedInstanceHours sets the NormalizedInstanceHours field's value.

func (*ClusterSummary) SetOutpostArn added in v1.25.41

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

SetOutpostArn sets the OutpostArn field's value.

func (*ClusterSummary) SetStatus added in v1.5.0

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

SetStatus sets the Status field's value.

func (ClusterSummary) String added in v0.6.5

func (s ClusterSummary) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type ClusterTimeline

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 run steps.
	ReadyDateTime *time.Time `type:"timestamp"`
	// contains filtered or unexported fields
}

Represents the timeline of the cluster's lifecycle.

func (ClusterTimeline) GoString added in v0.6.5

func (s ClusterTimeline) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ClusterTimeline) SetCreationDateTime added in v1.5.0

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

SetCreationDateTime sets the CreationDateTime field's value.

func (*ClusterTimeline) SetEndDateTime added in v1.5.0

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

SetEndDateTime sets the EndDateTime field's value.

func (*ClusterTimeline) SetReadyDateTime added in v1.5.0

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

SetReadyDateTime sets the ReadyDateTime field's value.

func (ClusterTimeline) String added in v0.6.5

func (s ClusterTimeline) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type Command

type Command struct {

	// Arguments for Amazon EMR to pass to the command for execution.
	Args []*string `type:"list"`

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

	// The Amazon S3 location of the command script.
	ScriptPath *string `type:"string"`
	// contains filtered or unexported fields
}

An entity describing an executable that runs on a cluster.

func (Command) GoString added in v0.6.5

func (s Command) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*Command) SetArgs added in v1.5.0

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

SetArgs sets the Args field's value.

func (*Command) SetName added in v1.5.0

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

SetName sets the Name field's value.

func (*Command) SetScriptPath added in v1.5.0

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

SetScriptPath sets the ScriptPath field's value.

func (Command) String added in v0.6.5

func (s Command) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type ComputeLimits added in v1.30.11

type ComputeLimits struct {

	// The upper boundary of Amazon EC2 units. It is measured through vCPU cores
	// or instances for instance groups and measured through units for instance
	// fleets. Managed scaling activities are not allowed beyond this boundary.
	// The limit only applies to the core and task nodes. The master node cannot
	// be scaled after initial configuration.
	//
	// MaximumCapacityUnits is a required field
	MaximumCapacityUnits *int64 `type:"integer" required:"true"`

	// The upper boundary of Amazon EC2 units for core node type in a cluster. It
	// is measured through vCPU cores or instances for instance groups and measured
	// through units for instance fleets. The core units are not allowed to scale
	// beyond this boundary. The parameter is used to split capacity allocation
	// between core and task nodes.
	MaximumCoreCapacityUnits *int64 `type:"integer"`

	// The upper boundary of On-Demand Amazon EC2 units. It is measured through
	// vCPU cores or instances for instance groups and measured through units for
	// instance fleets. The On-Demand units are not allowed to scale beyond this
	// boundary. The parameter is used to split capacity allocation between On-Demand
	// and Spot Instances.
	MaximumOnDemandCapacityUnits *int64 `type:"integer"`

	// The lower boundary of Amazon EC2 units. It is measured through vCPU cores
	// or instances for instance groups and measured through units for instance
	// fleets. Managed scaling activities are not allowed beyond this boundary.
	// The limit only applies to the core and task nodes. The master node cannot
	// be scaled after initial configuration.
	//
	// MinimumCapacityUnits is a required field
	MinimumCapacityUnits *int64 `type:"integer" required:"true"`

	// The unit type used for specifying a managed scaling policy.
	//
	// UnitType is a required field
	UnitType *string `type:"string" required:"true" enum:"ComputeLimitsUnitType"`
	// contains filtered or unexported fields
}

The Amazon EC2 unit limits for a managed scaling policy. The managed scaling activity of a cluster can not be above or below these limits. The limit only applies to the core and task nodes. The master node cannot be scaled after initial configuration.

func (ComputeLimits) GoString added in v1.30.11

func (s ComputeLimits) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ComputeLimits) SetMaximumCapacityUnits added in v1.30.11

func (s *ComputeLimits) SetMaximumCapacityUnits(v int64) *ComputeLimits

SetMaximumCapacityUnits sets the MaximumCapacityUnits field's value.

func (*ComputeLimits) SetMaximumCoreCapacityUnits added in v1.32.7

func (s *ComputeLimits) SetMaximumCoreCapacityUnits(v int64) *ComputeLimits

SetMaximumCoreCapacityUnits sets the MaximumCoreCapacityUnits field's value.

func (*ComputeLimits) SetMaximumOnDemandCapacityUnits added in v1.30.11

func (s *ComputeLimits) SetMaximumOnDemandCapacityUnits(v int64) *ComputeLimits

SetMaximumOnDemandCapacityUnits sets the MaximumOnDemandCapacityUnits field's value.

func (*ComputeLimits) SetMinimumCapacityUnits added in v1.30.11

func (s *ComputeLimits) SetMinimumCapacityUnits(v int64) *ComputeLimits

SetMinimumCapacityUnits sets the MinimumCapacityUnits field's value.

func (*ComputeLimits) SetUnitType added in v1.30.11

func (s *ComputeLimits) SetUnitType(v string) *ComputeLimits

SetUnitType sets the UnitType field's value.

func (ComputeLimits) String added in v1.30.11

func (s ComputeLimits) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ComputeLimits) Validate added in v1.30.11

func (s *ComputeLimits) Validate() error

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

type Configuration added in v0.6.8

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 added in v0.6.8

func (s Configuration) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*Configuration) SetClassification added in v1.5.0

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

SetClassification sets the Classification field's value.

func (*Configuration) SetConfigurations added in v1.5.0

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

SetConfigurations sets the Configurations field's value.

func (*Configuration) SetProperties added in v1.5.0

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

SetProperties sets the Properties field's value.

func (Configuration) String added in v0.6.8

func (s Configuration) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type CreateSecurityConfigurationInput added in v1.4.11

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 added in v1.4.11

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*CreateSecurityConfigurationInput) SetName added in v1.5.0

SetName sets the Name field's value.

func (*CreateSecurityConfigurationInput) SetSecurityConfiguration added in v1.5.0

SetSecurityConfiguration sets the SecurityConfiguration field's value.

func (CreateSecurityConfigurationInput) String added in v1.4.11

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*CreateSecurityConfigurationInput) Validate added in v1.4.11

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

type CreateSecurityConfigurationOutput added in v1.4.11

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 added in v1.4.11

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*CreateSecurityConfigurationOutput) SetCreationDateTime added in v1.5.0

SetCreationDateTime sets the CreationDateTime field's value.

func (*CreateSecurityConfigurationOutput) SetName added in v1.5.0

SetName sets the Name field's value.

func (CreateSecurityConfigurationOutput) String added in v1.4.11

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type CreateStudioInput added in v1.35.34

type CreateStudioInput struct {

	// Specifies whether the Studio authenticates users using IAM or IAM Identity
	// Center.
	//
	// AuthMode is a required field
	AuthMode *string `type:"string" required:"true" enum:"AuthMode"`

	// The Amazon S3 location to back up Amazon EMR Studio Workspaces and notebook
	// files.
	//
	// DefaultS3Location is a required field
	DefaultS3Location *string `type:"string" required:"true"`

	// A detailed description of the Amazon EMR Studio.
	Description *string `type:"string"`

	// The KMS key identifier (ARN) used to encrypt Amazon EMR Studio workspace
	// and notebook files when backed up to Amazon S3.
	EncryptionKeyArn *string `type:"string"`

	// The ID of the Amazon EMR Studio Engine security group. The Engine security
	// group allows inbound network traffic from the Workspace security group, and
	// it must be in the same VPC specified by VpcId.
	//
	// EngineSecurityGroupId is a required field
	EngineSecurityGroupId *string `type:"string" required:"true"`

	// The ARN of the IAM Identity Center instance to create the Studio application.
	IdcInstanceArn *string `min:"20" type:"string"`

	// Specifies whether IAM Identity Center user assignment is REQUIRED or OPTIONAL.
	// If the value is set to REQUIRED, users must be explicitly assigned to the
	// Studio application to access the Studio.
	IdcUserAssignment *string `type:"string" enum:"IdcUserAssignment"`

	// The authentication endpoint of your identity provider (IdP). Specify this
	// value when you use IAM authentication and want to let federated users log
	// in to a Studio with the Studio URL and credentials from your IdP. Amazon
	// EMR Studio redirects users to this endpoint to enter credentials.
	IdpAuthUrl *string `type:"string"`

	// The name that your identity provider (IdP) uses for its RelayState parameter.
	// For example, RelayState or TargetSource. Specify this value when you use
	// IAM authentication and want to let federated users log in to a Studio using
	// the Studio URL. The RelayState parameter differs by IdP.
	IdpRelayStateParameterName *string `type:"string"`

	// A descriptive name for the Amazon EMR Studio.
	//
	// Name is a required field
	Name *string `type:"string" required:"true"`

	// The IAM role that the Amazon EMR Studio assumes. The service role provides
	// a way for Amazon EMR Studio to interoperate with other Amazon Web Services
	// services.
	//
	// ServiceRole is a required field
	ServiceRole *string `type:"string" required:"true"`

	// A list of subnet IDs to associate with the Amazon EMR Studio. A Studio can
	// have a maximum of 5 subnets. The subnets must belong to the VPC specified
	// by VpcId. Studio users can create a Workspace in any of the specified subnets.
	//
	// SubnetIds is a required field
	SubnetIds []*string `type:"list" required:"true"`

	// A list of tags to associate with the Amazon EMR Studio. 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 []*Tag `type:"list"`

	// A Boolean indicating whether to enable Trusted identity propagation for the
	// Studio. The default value is false.
	TrustedIdentityPropagationEnabled *bool `type:"boolean"`

	// The IAM user role that users and groups assume when logged in to an Amazon
	// EMR Studio. Only specify a UserRole when you use IAM Identity Center authentication.
	// The permissions attached to the UserRole can be scoped down for each user
	// or group using session policies.
	UserRole *string `type:"string"`

	// The ID of the Amazon Virtual Private Cloud (Amazon VPC) to associate with
	// the Studio.
	//
	// VpcId is a required field
	VpcId *string `type:"string" required:"true"`

	// The ID of the Amazon EMR Studio Workspace security group. The Workspace security
	// group allows outbound network traffic to resources in the Engine security
	// group, and it must be in the same VPC specified by VpcId.
	//
	// WorkspaceSecurityGroupId is a required field
	WorkspaceSecurityGroupId *string `type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (CreateStudioInput) GoString added in v1.35.34

func (s CreateStudioInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*CreateStudioInput) SetAuthMode added in v1.35.34

func (s *CreateStudioInput) SetAuthMode(v string) *CreateStudioInput

SetAuthMode sets the AuthMode field's value.

func (*CreateStudioInput) SetDefaultS3Location added in v1.35.34

func (s *CreateStudioInput) SetDefaultS3Location(v string) *CreateStudioInput

SetDefaultS3Location sets the DefaultS3Location field's value.

func (*CreateStudioInput) SetDescription added in v1.35.34

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

SetDescription sets the Description field's value.

func (*CreateStudioInput) SetEncryptionKeyArn added in v1.48.0

func (s *CreateStudioInput) SetEncryptionKeyArn(v string) *CreateStudioInput

SetEncryptionKeyArn sets the EncryptionKeyArn field's value.

func (*CreateStudioInput) SetEngineSecurityGroupId added in v1.35.34

func (s *CreateStudioInput) SetEngineSecurityGroupId(v string) *CreateStudioInput

SetEngineSecurityGroupId sets the EngineSecurityGroupId field's value.

func (*CreateStudioInput) SetIdcInstanceArn added in v1.48.0

func (s *CreateStudioInput) SetIdcInstanceArn(v string) *CreateStudioInput

SetIdcInstanceArn sets the IdcInstanceArn field's value.

func (*CreateStudioInput) SetIdcUserAssignment added in v1.48.0

func (s *CreateStudioInput) SetIdcUserAssignment(v string) *CreateStudioInput

SetIdcUserAssignment sets the IdcUserAssignment field's value.

func (*CreateStudioInput) SetIdpAuthUrl added in v1.40.40

func (s *CreateStudioInput) SetIdpAuthUrl(v string) *CreateStudioInput

SetIdpAuthUrl sets the IdpAuthUrl field's value.

func (*CreateStudioInput) SetIdpRelayStateParameterName added in v1.40.40

func (s *CreateStudioInput) SetIdpRelayStateParameterName(v string) *CreateStudioInput

SetIdpRelayStateParameterName sets the IdpRelayStateParameterName field's value.

func (*CreateStudioInput) SetName added in v1.35.34

SetName sets the Name field's value.

func (*CreateStudioInput) SetServiceRole added in v1.35.34

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

SetServiceRole sets the ServiceRole field's value.

func (*CreateStudioInput) SetSubnetIds added in v1.35.34

func (s *CreateStudioInput) SetSubnetIds(v []*string) *CreateStudioInput

SetSubnetIds sets the SubnetIds field's value.

func (*CreateStudioInput) SetTags added in v1.35.34

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

SetTags sets the Tags field's value.

func (*CreateStudioInput) SetTrustedIdentityPropagationEnabled added in v1.48.0

func (s *CreateStudioInput) SetTrustedIdentityPropagationEnabled(v bool) *CreateStudioInput

SetTrustedIdentityPropagationEnabled sets the TrustedIdentityPropagationEnabled field's value.

func (*CreateStudioInput) SetUserRole added in v1.35.34

func (s *CreateStudioInput) SetUserRole(v string) *CreateStudioInput

SetUserRole sets the UserRole field's value.

func (*CreateStudioInput) SetVpcId added in v1.35.34

func (s *CreateStudioInput) SetVpcId(v string) *CreateStudioInput

SetVpcId sets the VpcId field's value.

func (*CreateStudioInput) SetWorkspaceSecurityGroupId added in v1.35.34

func (s *CreateStudioInput) SetWorkspaceSecurityGroupId(v string) *CreateStudioInput

SetWorkspaceSecurityGroupId sets the WorkspaceSecurityGroupId field's value.

func (CreateStudioInput) String added in v1.35.34

func (s CreateStudioInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*CreateStudioInput) Validate added in v1.35.34

func (s *CreateStudioInput) Validate() error

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

type CreateStudioOutput added in v1.35.34

type CreateStudioOutput struct {

	// The ID of the Amazon EMR Studio.
	StudioId *string `type:"string"`

	// The unique Studio access URL.
	Url *string `type:"string"`
	// contains filtered or unexported fields
}

func (CreateStudioOutput) GoString added in v1.35.34

func (s CreateStudioOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*CreateStudioOutput) SetStudioId added in v1.35.34

func (s *CreateStudioOutput) SetStudioId(v string) *CreateStudioOutput

SetStudioId sets the StudioId field's value.

func (*CreateStudioOutput) SetUrl added in v1.35.34

SetUrl sets the Url field's value.

func (CreateStudioOutput) String added in v1.35.34

func (s CreateStudioOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type CreateStudioSessionMappingInput added in v1.35.34

type CreateStudioSessionMappingInput struct {

	// The globally unique identifier (GUID) of the user or group from the IAM Identity
	// Center Identity Store. For more information, see UserId (https://docs.aws.amazon.com/singlesignon/latest/IdentityStoreAPIReference/API_User.html#singlesignon-Type-User-UserId)
	// and GroupId (https://docs.aws.amazon.com/singlesignon/latest/IdentityStoreAPIReference/API_Group.html#singlesignon-Type-Group-GroupId)
	// in the IAM Identity Center Identity Store API Reference. Either IdentityName
	// or IdentityId must be specified, but not both.
	IdentityId *string `type:"string"`

	// The name of the user or group. For more information, see UserName (https://docs.aws.amazon.com/singlesignon/latest/IdentityStoreAPIReference/API_User.html#singlesignon-Type-User-UserName)
	// and DisplayName (https://docs.aws.amazon.com/singlesignon/latest/IdentityStoreAPIReference/API_Group.html#singlesignon-Type-Group-DisplayName)
	// in the IAM Identity Center Identity Store API Reference. Either IdentityName
	// or IdentityId must be specified, but not both.
	IdentityName *string `type:"string"`

	// Specifies whether the identity to map to the Amazon EMR Studio is a user
	// or a group.
	//
	// IdentityType is a required field
	IdentityType *string `type:"string" required:"true" enum:"IdentityType"`

	// The Amazon Resource Name (ARN) for the session policy that will be applied
	// to the user or group. You should specify the ARN for the session policy that
	// you want to apply, not the ARN of your user role. For more information, see
	// Create an Amazon EMR Studio User Role with Session Policies (https://docs.aws.amazon.com/emr/latest/ManagementGuide/emr-studio-user-role.html).
	//
	// SessionPolicyArn is a required field
	SessionPolicyArn *string `type:"string" required:"true"`

	// The ID of the Amazon EMR Studio to which the user or group will be mapped.
	//
	// StudioId is a required field
	StudioId *string `type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (CreateStudioSessionMappingInput) GoString added in v1.35.34

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*CreateStudioSessionMappingInput) SetIdentityId added in v1.35.34

SetIdentityId sets the IdentityId field's value.

func (*CreateStudioSessionMappingInput) SetIdentityName added in v1.35.34

SetIdentityName sets the IdentityName field's value.

func (*CreateStudioSessionMappingInput) SetIdentityType added in v1.35.34

SetIdentityType sets the IdentityType field's value.

func (*CreateStudioSessionMappingInput) SetSessionPolicyArn added in v1.35.34

SetSessionPolicyArn sets the SessionPolicyArn field's value.

func (*CreateStudioSessionMappingInput) SetStudioId added in v1.35.34

SetStudioId sets the StudioId field's value.

func (CreateStudioSessionMappingInput) String added in v1.35.34

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*CreateStudioSessionMappingInput) Validate added in v1.35.34

func (s *CreateStudioSessionMappingInput) Validate() error

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

type CreateStudioSessionMappingOutput added in v1.35.34

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

func (CreateStudioSessionMappingOutput) GoString added in v1.35.34

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (CreateStudioSessionMappingOutput) String added in v1.35.34

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type Credentials added in v1.44.170

type Credentials struct {

	// The username and password that you use to connect to cluster endpoints.
	//
	// UsernamePassword is a sensitive parameter and its value will be
	// replaced with "sensitive" in string returned by Credentials's
	// String and GoString methods.
	UsernamePassword *UsernamePassword `type:"structure" sensitive:"true"`
	// contains filtered or unexported fields
}

The credentials that you can use to connect to cluster endpoints. Credentials consist of a username and a password.

func (Credentials) GoString added in v1.44.170

func (s Credentials) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*Credentials) SetUsernamePassword added in v1.44.170

func (s *Credentials) SetUsernamePassword(v *UsernamePassword) *Credentials

SetUsernamePassword sets the UsernamePassword field's value.

func (Credentials) String added in v1.44.170

func (s Credentials) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type DeleteSecurityConfigurationInput added in v1.4.11

type DeleteSecurityConfigurationInput struct {

	// The name of the security configuration.
	//
	// Name is a required field
	Name *string `type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (DeleteSecurityConfigurationInput) GoString added in v1.4.11

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DeleteSecurityConfigurationInput) SetName added in v1.5.0

SetName sets the Name field's value.

func (DeleteSecurityConfigurationInput) String added in v1.4.11

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DeleteSecurityConfigurationInput) Validate added in v1.4.11

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

type DeleteSecurityConfigurationOutput added in v1.4.11

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

func (DeleteSecurityConfigurationOutput) GoString added in v1.4.11

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (DeleteSecurityConfigurationOutput) String added in v1.4.11

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type DeleteStudioInput added in v1.35.34

type DeleteStudioInput struct {

	// The ID of the Amazon EMR Studio.
	//
	// StudioId is a required field
	StudioId *string `type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (DeleteStudioInput) GoString added in v1.35.34

func (s DeleteStudioInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DeleteStudioInput) SetStudioId added in v1.35.34

func (s *DeleteStudioInput) SetStudioId(v string) *DeleteStudioInput

SetStudioId sets the StudioId field's value.

func (DeleteStudioInput) String added in v1.35.34

func (s DeleteStudioInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DeleteStudioInput) Validate added in v1.35.34

func (s *DeleteStudioInput) Validate() error

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

type DeleteStudioOutput added in v1.35.34

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

func (DeleteStudioOutput) GoString added in v1.35.34

func (s DeleteStudioOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (DeleteStudioOutput) String added in v1.35.34

func (s DeleteStudioOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type DeleteStudioSessionMappingInput added in v1.35.34

type DeleteStudioSessionMappingInput struct {

	// The globally unique identifier (GUID) of the user or group to remove from
	// the Amazon EMR Studio. For more information, see UserId (https://docs.aws.amazon.com/singlesignon/latest/IdentityStoreAPIReference/API_User.html#singlesignon-Type-User-UserId)
	// and GroupId (https://docs.aws.amazon.com/singlesignon/latest/IdentityStoreAPIReference/API_Group.html#singlesignon-Type-Group-GroupId)
	// in the IAM Identity Center Identity Store API Reference. Either IdentityName
	// or IdentityId must be specified.
	IdentityId *string `type:"string"`

	// The name of the user name or group to remove from the Amazon EMR Studio.
	// For more information, see UserName (https://docs.aws.amazon.com/singlesignon/latest/IdentityStoreAPIReference/API_User.html#singlesignon-Type-User-UserName)
	// and DisplayName (https://docs.aws.amazon.com/singlesignon/latest/IdentityStoreAPIReference/API_Group.html#singlesignon-Type-Group-DisplayName)
	// in the IAM Identity Center Store API Reference. Either IdentityName or IdentityId
	// must be specified.
	IdentityName *string `type:"string"`

	// Specifies whether the identity to delete from the Amazon EMR Studio is a
	// user or a group.
	//
	// IdentityType is a required field
	IdentityType *string `type:"string" required:"true" enum:"IdentityType"`

	// The ID of the Amazon EMR Studio.
	//
	// StudioId is a required field
	StudioId *string `type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (DeleteStudioSessionMappingInput) GoString added in v1.35.34

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DeleteStudioSessionMappingInput) SetIdentityId added in v1.35.34

SetIdentityId sets the IdentityId field's value.

func (*DeleteStudioSessionMappingInput) SetIdentityName added in v1.35.34

SetIdentityName sets the IdentityName field's value.

func (*DeleteStudioSessionMappingInput) SetIdentityType added in v1.35.34

SetIdentityType sets the IdentityType field's value.

func (*DeleteStudioSessionMappingInput) SetStudioId added in v1.35.34

SetStudioId sets the StudioId field's value.

func (DeleteStudioSessionMappingInput) String added in v1.35.34

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DeleteStudioSessionMappingInput) Validate added in v1.35.34

func (s *DeleteStudioSessionMappingInput) Validate() error

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

type DeleteStudioSessionMappingOutput added in v1.35.34

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

func (DeleteStudioSessionMappingOutput) GoString added in v1.35.34

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (DeleteStudioSessionMappingOutput) String added in v1.35.34

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type DescribeClusterInput

type DescribeClusterInput struct {

	// The identifier of the cluster to describe.
	//
	// ClusterId is a required field
	ClusterId *string `type:"string" required:"true"`
	// contains filtered or unexported fields
}

This input determines which cluster to describe.

func (DescribeClusterInput) GoString added in v0.6.5

func (s DescribeClusterInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DescribeClusterInput) SetClusterId added in v1.5.0

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

SetClusterId sets the ClusterId field's value.

func (DescribeClusterInput) String added in v0.6.5

func (s DescribeClusterInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DescribeClusterInput) Validate added in v1.1.21

func (s *DescribeClusterInput) Validate() error

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

type DescribeClusterOutput

type DescribeClusterOutput struct {

	// This output contains the details for the requested cluster.
	Cluster *Cluster `type:"structure"`
	// contains filtered or unexported fields
}

This output contains the description of the cluster.

func (DescribeClusterOutput) GoString added in v0.6.5

func (s DescribeClusterOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DescribeClusterOutput) SetCluster added in v1.5.0

SetCluster sets the Cluster field's value.

func (DescribeClusterOutput) String added in v0.6.5

func (s DescribeClusterOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type DescribeJobFlowsInput

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" enum:"JobFlowExecutionState"`
	// contains filtered or unexported fields
}

The input for the DescribeJobFlows operation.

func (DescribeJobFlowsInput) GoString added in v0.6.5

func (s DescribeJobFlowsInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DescribeJobFlowsInput) SetCreatedAfter added in v1.5.0

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

SetCreatedAfter sets the CreatedAfter field's value.

func (*DescribeJobFlowsInput) SetCreatedBefore added in v1.5.0

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

SetCreatedBefore sets the CreatedBefore field's value.

func (*DescribeJobFlowsInput) SetJobFlowIds added in v1.5.0

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

SetJobFlowIds sets the JobFlowIds field's value.

func (*DescribeJobFlowsInput) SetJobFlowStates added in v1.5.0

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

SetJobFlowStates sets the JobFlowStates field's value.

func (DescribeJobFlowsInput) String added in v0.6.5

func (s DescribeJobFlowsInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type DescribeJobFlowsOutput

type DescribeJobFlowsOutput struct {

	// A list of job flows matching the parameters supplied.
	JobFlows []*JobFlowDetail `type:"list"`
	// contains filtered or unexported fields
}

The output for the DescribeJobFlows operation.

func (DescribeJobFlowsOutput) GoString added in v0.6.5

func (s DescribeJobFlowsOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DescribeJobFlowsOutput) SetJobFlows added in v1.5.0

SetJobFlows sets the JobFlows field's value.

func (DescribeJobFlowsOutput) String added in v0.6.5

func (s DescribeJobFlowsOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type DescribeNotebookExecutionInput added in v1.34.13

type DescribeNotebookExecutionInput struct {

	// The unique identifier of the notebook execution.
	//
	// NotebookExecutionId is a required field
	NotebookExecutionId *string `type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (DescribeNotebookExecutionInput) GoString added in v1.34.13

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DescribeNotebookExecutionInput) SetNotebookExecutionId added in v1.34.13

SetNotebookExecutionId sets the NotebookExecutionId field's value.

func (DescribeNotebookExecutionInput) String added in v1.34.13

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DescribeNotebookExecutionInput) Validate added in v1.34.13

func (s *DescribeNotebookExecutionInput) Validate() error

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

type DescribeNotebookExecutionOutput added in v1.34.13

type DescribeNotebookExecutionOutput struct {

	// Properties of the notebook execution.
	NotebookExecution *NotebookExecution `type:"structure"`
	// contains filtered or unexported fields
}

func (DescribeNotebookExecutionOutput) GoString added in v1.34.13

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DescribeNotebookExecutionOutput) SetNotebookExecution added in v1.34.13

SetNotebookExecution sets the NotebookExecution field's value.

func (DescribeNotebookExecutionOutput) String added in v1.34.13

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type DescribeReleaseLabelInput added in v1.40.5

type DescribeReleaseLabelInput struct {

	// Reserved for future use. Currently set to null.
	MaxResults *int64 `min:"1" type:"integer"`

	// The pagination token. Reserved for future use. Currently set to null.
	NextToken *string `type:"string"`

	// The target release label to be described.
	ReleaseLabel *string `type:"string"`
	// contains filtered or unexported fields
}

func (DescribeReleaseLabelInput) GoString added in v1.40.5

func (s DescribeReleaseLabelInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DescribeReleaseLabelInput) SetMaxResults added in v1.40.5

SetMaxResults sets the MaxResults field's value.

func (*DescribeReleaseLabelInput) SetNextToken added in v1.40.5

SetNextToken sets the NextToken field's value.

func (*DescribeReleaseLabelInput) SetReleaseLabel added in v1.40.5

SetReleaseLabel sets the ReleaseLabel field's value.

func (DescribeReleaseLabelInput) String added in v1.40.5

func (s DescribeReleaseLabelInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DescribeReleaseLabelInput) Validate added in v1.40.5

func (s *DescribeReleaseLabelInput) Validate() error

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

type DescribeReleaseLabelOutput added in v1.40.5

type DescribeReleaseLabelOutput struct {

	// The list of applications available for the target release label. Name is
	// the name of the application. Version is the concise version of the application.
	Applications []*SimplifiedApplication `type:"list"`

	// The list of available Amazon Linux release versions for an Amazon EMR release.
	// Contains a Label field that is formatted as shown in Amazon Linux 2 Release
	// Notes (https://docs.aws.amazon.com/AL2/latest/relnotes/relnotes-al2.html).
	// For example, 2.0.20220218.1 (https://docs.aws.amazon.com/AL2/latest/relnotes/relnotes-20220218.html).
	AvailableOSReleases []*OSRelease `type:"list"`

	// The pagination token. Reserved for future use. Currently set to null.
	NextToken *string `type:"string"`

	// The target release label described in the response.
	ReleaseLabel *string `type:"string"`
	// contains filtered or unexported fields
}

func (DescribeReleaseLabelOutput) GoString added in v1.40.5

func (s DescribeReleaseLabelOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DescribeReleaseLabelOutput) SetApplications added in v1.40.5

SetApplications sets the Applications field's value.

func (*DescribeReleaseLabelOutput) SetAvailableOSReleases added in v1.44.11

func (s *DescribeReleaseLabelOutput) SetAvailableOSReleases(v []*OSRelease) *DescribeReleaseLabelOutput

SetAvailableOSReleases sets the AvailableOSReleases field's value.

func (*DescribeReleaseLabelOutput) SetNextToken added in v1.40.5

SetNextToken sets the NextToken field's value.

func (*DescribeReleaseLabelOutput) SetReleaseLabel added in v1.40.5

SetReleaseLabel sets the ReleaseLabel field's value.

func (DescribeReleaseLabelOutput) String added in v1.40.5

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type DescribeSecurityConfigurationInput added in v1.4.11

type DescribeSecurityConfigurationInput struct {

	// The name of the security configuration.
	//
	// Name is a required field
	Name *string `type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (DescribeSecurityConfigurationInput) GoString added in v1.4.11

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DescribeSecurityConfigurationInput) SetName added in v1.5.0

SetName sets the Name field's value.

func (DescribeSecurityConfigurationInput) String added in v1.4.11

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DescribeSecurityConfigurationInput) Validate added in v1.4.11

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

type DescribeSecurityConfigurationOutput added in v1.4.11

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 added in v1.4.11

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DescribeSecurityConfigurationOutput) SetCreationDateTime added in v1.5.0

SetCreationDateTime sets the CreationDateTime field's value.

func (*DescribeSecurityConfigurationOutput) SetName added in v1.5.0

SetName sets the Name field's value.

func (*DescribeSecurityConfigurationOutput) SetSecurityConfiguration added in v1.5.0

SetSecurityConfiguration sets the SecurityConfiguration field's value.

func (DescribeSecurityConfigurationOutput) String added in v1.4.11

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type DescribeStepInput

type DescribeStepInput struct {

	// The identifier of the cluster with steps to describe.
	//
	// ClusterId is a required field
	ClusterId *string `type:"string" required:"true"`

	// The identifier of the step to describe.
	//
	// StepId is a required field
	StepId *string `type:"string" required:"true"`
	// contains filtered or unexported fields
}

This input determines which step to describe.

func (DescribeStepInput) GoString added in v0.6.5

func (s DescribeStepInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DescribeStepInput) SetClusterId added in v1.5.0

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

SetClusterId sets the ClusterId field's value.

func (*DescribeStepInput) SetStepId added in v1.5.0

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

SetStepId sets the StepId field's value.

func (DescribeStepInput) String added in v0.6.5

func (s DescribeStepInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DescribeStepInput) Validate added in v1.1.21

func (s *DescribeStepInput) Validate() error

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

type DescribeStepOutput

type DescribeStepOutput struct {

	// The step details for the requested step identifier.
	Step *Step `type:"structure"`
	// contains filtered or unexported fields
}

This output contains the description of the cluster step.

func (DescribeStepOutput) GoString added in v0.6.5

func (s DescribeStepOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DescribeStepOutput) SetStep added in v1.5.0

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

SetStep sets the Step field's value.

func (DescribeStepOutput) String added in v0.6.5

func (s DescribeStepOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type DescribeStudioInput added in v1.35.34

type DescribeStudioInput struct {

	// The Amazon EMR Studio ID.
	//
	// StudioId is a required field
	StudioId *string `type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (DescribeStudioInput) GoString added in v1.35.34

func (s DescribeStudioInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DescribeStudioInput) SetStudioId added in v1.35.34

func (s *DescribeStudioInput) SetStudioId(v string) *DescribeStudioInput

SetStudioId sets the StudioId field's value.

func (DescribeStudioInput) String added in v1.35.34

func (s DescribeStudioInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DescribeStudioInput) Validate added in v1.35.34

func (s *DescribeStudioInput) Validate() error

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

type DescribeStudioOutput added in v1.35.34

type DescribeStudioOutput struct {

	// The Amazon EMR Studio details.
	Studio *Studio `type:"structure"`
	// contains filtered or unexported fields
}

func (DescribeStudioOutput) GoString added in v1.35.34

func (s DescribeStudioOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DescribeStudioOutput) SetStudio added in v1.35.34

SetStudio sets the Studio field's value.

func (DescribeStudioOutput) String added in v1.35.34

func (s DescribeStudioOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type EMR

type EMR struct {
	*client.Client
}

EMR provides the API operation methods for making requests to Amazon EMR. 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

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:

mySession := session.Must(session.NewSession())

// 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 added in v1.7.8

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

AddInstanceFleet API operation for Amazon EMR.

Adds an instance fleet to a running cluster.

The instance fleet configuration is available only in Amazon EMR releases 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 EMR's API operation AddInstanceFleet for usage and error information.

Returned Error Types:

  • InternalServerException This exception occurs when there is an internal failure in the Amazon EMR service.

  • 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 added in v1.7.8

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 added in v1.8.0

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

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

AddInstanceGroups API operation for Amazon EMR.

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 EMR's API operation AddInstanceGroups for usage and error information.

Returned Error Types:

  • 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

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 added in v1.8.0

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

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

AddJobFlowSteps API operation for Amazon EMR.

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.

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.

The string values passed into HadoopJarStep object cannot exceed a total of 10240 characters.

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 EMR's API operation AddJobFlowSteps for usage and error information.

Returned Error Types:

  • 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

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 added in v1.8.0

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

func (c *EMR) AddTags(input *AddTagsInput) (*AddTagsOutput, error)

AddTags API operation for Amazon EMR.

Adds tags to an Amazon EMR resource, such as a cluster or an Amazon EMR Studio. Tags make it easier to associate resources 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 EMR's API operation AddTags for usage and error information.

Returned Error Types:

  • InternalServerException This exception occurs when there is an internal failure in the Amazon EMR service.

  • 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

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 added in v1.8.0

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 added in v1.5.8

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

CancelSteps API operation for Amazon EMR.

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 that a step will be canceled, even if the request is successfully submitted. When you use Amazon EMR releases 5.28.0 and later, you can cancel steps that are in a PENDING or RUNNING state. In earlier versions of Amazon EMR, 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 EMR's API operation CancelSteps for usage and error information.

Returned Error Types:

  • InternalServerError Indicates that an error occurred while processing the request and that the request was not completed.

  • 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 added in v1.5.8

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 added in v1.8.0

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 added in v1.4.11

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

CreateSecurityConfiguration API operation for Amazon EMR.

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 EMR's API operation CreateSecurityConfiguration for usage and error information.

Returned Error Types:

  • InternalServerException This exception occurs when there is an internal failure in the Amazon EMR service.

  • 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 added in v1.4.11

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 added in v1.8.0

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) CreateStudio added in v1.35.34

func (c *EMR) CreateStudio(input *CreateStudioInput) (*CreateStudioOutput, error)

CreateStudio API operation for Amazon EMR.

Creates a new Amazon EMR Studio.

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 EMR's API operation CreateStudio for usage and error information.

Returned Error Types:

  • InternalServerException This exception occurs when there is an internal failure in the Amazon EMR service.

  • 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/CreateStudio

func (*EMR) CreateStudioRequest added in v1.35.34

func (c *EMR) CreateStudioRequest(input *CreateStudioInput) (req *request.Request, output *CreateStudioOutput)

CreateStudioRequest generates a "aws/request.Request" representing the client's request for the CreateStudio 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 CreateStudio for more information on using the CreateStudio 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 CreateStudioRequest method.
req, resp := client.CreateStudioRequest(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/CreateStudio

func (*EMR) CreateStudioSessionMapping added in v1.35.34

func (c *EMR) CreateStudioSessionMapping(input *CreateStudioSessionMappingInput) (*CreateStudioSessionMappingOutput, error)

CreateStudioSessionMapping API operation for Amazon EMR.

Maps a user or group to the Amazon EMR Studio specified by StudioId, and applies a session policy to refine Studio permissions for that user or group. Use CreateStudioSessionMapping to assign users to a Studio when you use IAM Identity Center authentication. For instructions on how to assign users to a Studio when you use IAM authentication, see Assign a user or group to your EMR Studio (https://docs.aws.amazon.com/emr/latest/ManagementGuide/emr-studio-manage-users.html#emr-studio-assign-users-groups).

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 EMR's API operation CreateStudioSessionMapping for usage and error information.

Returned Error Types:

  • InternalServerError Indicates that an error occurred while processing the request and that the request was not completed.

  • 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/CreateStudioSessionMapping

func (*EMR) CreateStudioSessionMappingRequest added in v1.35.34

func (c *EMR) CreateStudioSessionMappingRequest(input *CreateStudioSessionMappingInput) (req *request.Request, output *CreateStudioSessionMappingOutput)

CreateStudioSessionMappingRequest generates a "aws/request.Request" representing the client's request for the CreateStudioSessionMapping 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 CreateStudioSessionMapping for more information on using the CreateStudioSessionMapping 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 CreateStudioSessionMappingRequest method.
req, resp := client.CreateStudioSessionMappingRequest(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/CreateStudioSessionMapping

func (*EMR) CreateStudioSessionMappingWithContext added in v1.35.34

func (c *EMR) CreateStudioSessionMappingWithContext(ctx aws.Context, input *CreateStudioSessionMappingInput, opts ...request.Option) (*CreateStudioSessionMappingOutput, error)

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

See CreateStudioSessionMapping 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) CreateStudioWithContext added in v1.35.34

func (c *EMR) CreateStudioWithContext(ctx aws.Context, input *CreateStudioInput, opts ...request.Option) (*CreateStudioOutput, error)

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

See CreateStudio 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 added in v1.4.11

func (c *EMR) DeleteSecurityConfiguration(input *DeleteSecurityConfigurationInput) (*DeleteSecurityConfigurationOutput, error)

DeleteSecurityConfiguration API operation for Amazon EMR.

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 EMR's API operation DeleteSecurityConfiguration for usage and error information.

Returned Error Types:

  • InternalServerException This exception occurs when there is an internal failure in the Amazon EMR service.

  • 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 added in v1.4.11

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 added in v1.8.0

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) DeleteStudio added in v1.35.34

func (c *EMR) DeleteStudio(input *DeleteStudioInput) (*DeleteStudioOutput, error)

DeleteStudio API operation for Amazon EMR.

Removes an Amazon EMR Studio from the Studio metadata store.

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 EMR's API operation DeleteStudio for usage and error information.

Returned Error Types:

  • InternalServerException This exception occurs when there is an internal failure in the Amazon EMR service.

  • 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/DeleteStudio

func (*EMR) DeleteStudioRequest added in v1.35.34

func (c *EMR) DeleteStudioRequest(input *DeleteStudioInput) (req *request.Request, output *DeleteStudioOutput)

DeleteStudioRequest generates a "aws/request.Request" representing the client's request for the DeleteStudio 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 DeleteStudio for more information on using the DeleteStudio 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 DeleteStudioRequest method.
req, resp := client.DeleteStudioRequest(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/DeleteStudio

func (*EMR) DeleteStudioSessionMapping added in v1.35.34

func (c *EMR) DeleteStudioSessionMapping(input *DeleteStudioSessionMappingInput) (*DeleteStudioSessionMappingOutput, error)

DeleteStudioSessionMapping API operation for Amazon EMR.

Removes a user or group from an Amazon EMR Studio.

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 EMR's API operation DeleteStudioSessionMapping for usage and error information.

Returned Error Types:

  • InternalServerError Indicates that an error occurred while processing the request and that the request was not completed.

  • 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/DeleteStudioSessionMapping

func (*EMR) DeleteStudioSessionMappingRequest added in v1.35.34

func (c *EMR) DeleteStudioSessionMappingRequest(input *DeleteStudioSessionMappingInput) (req *request.Request, output *DeleteStudioSessionMappingOutput)

DeleteStudioSessionMappingRequest generates a "aws/request.Request" representing the client's request for the DeleteStudioSessionMapping 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 DeleteStudioSessionMapping for more information on using the DeleteStudioSessionMapping 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 DeleteStudioSessionMappingRequest method.
req, resp := client.DeleteStudioSessionMappingRequest(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/DeleteStudioSessionMapping

func (*EMR) DeleteStudioSessionMappingWithContext added in v1.35.34

func (c *EMR) DeleteStudioSessionMappingWithContext(ctx aws.Context, input *DeleteStudioSessionMappingInput, opts ...request.Option) (*DeleteStudioSessionMappingOutput, error)

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

See DeleteStudioSessionMapping 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) DeleteStudioWithContext added in v1.35.34

func (c *EMR) DeleteStudioWithContext(ctx aws.Context, input *DeleteStudioInput, opts ...request.Option) (*DeleteStudioOutput, error)

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

See DeleteStudio 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

func (c *EMR) DescribeCluster(input *DescribeClusterInput) (*DescribeClusterOutput, error)

DescribeCluster API operation for Amazon EMR.

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 EMR's API operation DescribeCluster for usage and error information.

Returned Error Types:

  • InternalServerException This exception occurs when there is an internal failure in the Amazon EMR service.

  • 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

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 added in v1.8.0

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 deprecated

func (c *EMR) DescribeJobFlows(input *DescribeJobFlowsInput) (*DescribeJobFlowsOutput, error)

DescribeJobFlows API operation for Amazon EMR.

This API is no longer supported 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 EMR's API operation DescribeJobFlows for usage and error information.

Returned Error Types:

  • 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 deprecated

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 deprecated added in v1.8.0

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) DescribeNotebookExecution added in v1.34.13

func (c *EMR) DescribeNotebookExecution(input *DescribeNotebookExecutionInput) (*DescribeNotebookExecutionOutput, error)

DescribeNotebookExecution API operation for Amazon EMR.

Provides details of a notebook execution.

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 EMR's API operation DescribeNotebookExecution for usage and error information.

Returned Error Types:

  • InternalServerError Indicates that an error occurred while processing the request and that the request was not completed.

  • 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/DescribeNotebookExecution

func (*EMR) DescribeNotebookExecutionRequest added in v1.34.13

func (c *EMR) DescribeNotebookExecutionRequest(input *DescribeNotebookExecutionInput) (req *request.Request, output *DescribeNotebookExecutionOutput)

DescribeNotebookExecutionRequest generates a "aws/request.Request" representing the client's request for the DescribeNotebookExecution 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 DescribeNotebookExecution for more information on using the DescribeNotebookExecution 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 DescribeNotebookExecutionRequest method.
req, resp := client.DescribeNotebookExecutionRequest(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/DescribeNotebookExecution

func (*EMR) DescribeNotebookExecutionWithContext added in v1.34.13

func (c *EMR) DescribeNotebookExecutionWithContext(ctx aws.Context, input *DescribeNotebookExecutionInput, opts ...request.Option) (*DescribeNotebookExecutionOutput, error)

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

See DescribeNotebookExecution 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) DescribeReleaseLabel added in v1.40.5

func (c *EMR) DescribeReleaseLabel(input *DescribeReleaseLabelInput) (*DescribeReleaseLabelOutput, error)

DescribeReleaseLabel API operation for Amazon EMR.

Provides Amazon EMR release label details, such as the releases available the Region where the API request is run, and the available applications for a specific Amazon EMR release label. Can also list Amazon EMR releases that support a specified version of Spark.

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 EMR's API operation DescribeReleaseLabel for usage and error information.

Returned Error Types:

  • InternalServerException This exception occurs when there is an internal failure in the Amazon EMR service.

  • 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/DescribeReleaseLabel

func (*EMR) DescribeReleaseLabelRequest added in v1.40.5

func (c *EMR) DescribeReleaseLabelRequest(input *DescribeReleaseLabelInput) (req *request.Request, output *DescribeReleaseLabelOutput)

DescribeReleaseLabelRequest generates a "aws/request.Request" representing the client's request for the DescribeReleaseLabel 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 DescribeReleaseLabel for more information on using the DescribeReleaseLabel 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 DescribeReleaseLabelRequest method.
req, resp := client.DescribeReleaseLabelRequest(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/DescribeReleaseLabel

func (*EMR) DescribeReleaseLabelWithContext added in v1.40.5

func (c *EMR) DescribeReleaseLabelWithContext(ctx aws.Context, input *DescribeReleaseLabelInput, opts ...request.Option) (*DescribeReleaseLabelOutput, error)

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

See DescribeReleaseLabel 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) DescribeSecurityConfiguration added in v1.4.11

func (c *EMR) DescribeSecurityConfiguration(input *DescribeSecurityConfigurationInput) (*DescribeSecurityConfigurationOutput, error)

DescribeSecurityConfiguration API operation for Amazon EMR.

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 EMR's API operation DescribeSecurityConfiguration for usage and error information.

Returned Error Types:

  • InternalServerException This exception occurs when there is an internal failure in the Amazon EMR service.

  • 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 added in v1.4.11

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 added in v1.8.0

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

func (c *EMR) DescribeStep(input *DescribeStepInput) (*DescribeStepOutput, error)

DescribeStep API operation for Amazon EMR.

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 EMR's API operation DescribeStep for usage and error information.

Returned Error Types:

  • InternalServerException This exception occurs when there is an internal failure in the Amazon EMR service.

  • 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

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 added in v1.8.0

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) DescribeStudio added in v1.35.34

func (c *EMR) DescribeStudio(input *DescribeStudioInput) (*DescribeStudioOutput, error)

DescribeStudio API operation for Amazon EMR.

Returns details for the specified Amazon EMR Studio including ID, Name, VPC, Studio access URL, 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 EMR's API operation DescribeStudio for usage and error information.

Returned Error Types:

  • InternalServerException This exception occurs when there is an internal failure in the Amazon EMR service.

  • 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/DescribeStudio

func (*EMR) DescribeStudioRequest added in v1.35.34

func (c *EMR) DescribeStudioRequest(input *DescribeStudioInput) (req *request.Request, output *DescribeStudioOutput)

DescribeStudioRequest generates a "aws/request.Request" representing the client's request for the DescribeStudio 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 DescribeStudio for more information on using the DescribeStudio 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 DescribeStudioRequest method.
req, resp := client.DescribeStudioRequest(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/DescribeStudio

func (*EMR) DescribeStudioWithContext added in v1.35.34

func (c *EMR) DescribeStudioWithContext(ctx aws.Context, input *DescribeStudioInput, opts ...request.Option) (*DescribeStudioOutput, error)

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

See DescribeStudio 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) GetAutoTerminationPolicy added in v1.40.32

func (c *EMR) GetAutoTerminationPolicy(input *GetAutoTerminationPolicyInput) (*GetAutoTerminationPolicyOutput, error)

GetAutoTerminationPolicy API operation for Amazon EMR.

Returns the auto-termination policy for an Amazon 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 EMR's API operation GetAutoTerminationPolicy for usage and error information. See also, https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/GetAutoTerminationPolicy

func (*EMR) GetAutoTerminationPolicyRequest added in v1.40.32

func (c *EMR) GetAutoTerminationPolicyRequest(input *GetAutoTerminationPolicyInput) (req *request.Request, output *GetAutoTerminationPolicyOutput)

GetAutoTerminationPolicyRequest generates a "aws/request.Request" representing the client's request for the GetAutoTerminationPolicy 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 GetAutoTerminationPolicy for more information on using the GetAutoTerminationPolicy 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 GetAutoTerminationPolicyRequest method.
req, resp := client.GetAutoTerminationPolicyRequest(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/GetAutoTerminationPolicy

func (*EMR) GetAutoTerminationPolicyWithContext added in v1.40.32

func (c *EMR) GetAutoTerminationPolicyWithContext(ctx aws.Context, input *GetAutoTerminationPolicyInput, opts ...request.Option) (*GetAutoTerminationPolicyOutput, error)

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

See GetAutoTerminationPolicy 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) GetBlockPublicAccessConfiguration added in v1.23.3

func (c *EMR) GetBlockPublicAccessConfiguration(input *GetBlockPublicAccessConfigurationInput) (*GetBlockPublicAccessConfigurationOutput, error)

GetBlockPublicAccessConfiguration API operation for Amazon EMR.

Returns the Amazon EMR block public access configuration for your Amazon Web Services account in the current Region. For more information see Configure Block Public Access for Amazon EMR (https://docs.aws.amazon.com/emr/latest/ManagementGuide/configure-block-public-access.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 EMR's API operation GetBlockPublicAccessConfiguration for usage and error information.

Returned Error Types:

  • InternalServerException This exception occurs when there is an internal failure in the Amazon EMR service.

  • 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/GetBlockPublicAccessConfiguration

func (*EMR) GetBlockPublicAccessConfigurationRequest added in v1.23.3

func (c *EMR) GetBlockPublicAccessConfigurationRequest(input *GetBlockPublicAccessConfigurationInput) (req *request.Request, output *GetBlockPublicAccessConfigurationOutput)

GetBlockPublicAccessConfigurationRequest generates a "aws/request.Request" representing the client's request for the GetBlockPublicAccessConfiguration 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 GetBlockPublicAccessConfiguration for more information on using the GetBlockPublicAccessConfiguration 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 GetBlockPublicAccessConfigurationRequest method.
req, resp := client.GetBlockPublicAccessConfigurationRequest(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/GetBlockPublicAccessConfiguration

func (*EMR) GetBlockPublicAccessConfigurationWithContext added in v1.23.3

func (c *EMR) GetBlockPublicAccessConfigurationWithContext(ctx aws.Context, input *GetBlockPublicAccessConfigurationInput, opts ...request.Option) (*GetBlockPublicAccessConfigurationOutput, error)

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

See GetBlockPublicAccessConfiguration 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) GetClusterSessionCredentials added in v1.44.170

func (c *EMR) GetClusterSessionCredentials(input *GetClusterSessionCredentialsInput) (*GetClusterSessionCredentialsOutput, error)

GetClusterSessionCredentials API operation for Amazon EMR.

Provides temporary, HTTP basic credentials that are associated with a given runtime IAM role and used by a cluster with fine-grained access control activated. You can use these credentials to connect to cluster endpoints that support username and password authentication.

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 EMR's API operation GetClusterSessionCredentials for usage and error information.

Returned Error Types:

  • InternalServerError Indicates that an error occurred while processing the request and that the request was not completed.

  • 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/GetClusterSessionCredentials

func (*EMR) GetClusterSessionCredentialsRequest added in v1.44.170

func (c *EMR) GetClusterSessionCredentialsRequest(input *GetClusterSessionCredentialsInput) (req *request.Request, output *GetClusterSessionCredentialsOutput)

GetClusterSessionCredentialsRequest generates a "aws/request.Request" representing the client's request for the GetClusterSessionCredentials 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 GetClusterSessionCredentials for more information on using the GetClusterSessionCredentials 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 GetClusterSessionCredentialsRequest method.
req, resp := client.GetClusterSessionCredentialsRequest(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/GetClusterSessionCredentials

func (*EMR) GetClusterSessionCredentialsWithContext added in v1.44.170

func (c *EMR) GetClusterSessionCredentialsWithContext(ctx aws.Context, input *GetClusterSessionCredentialsInput, opts ...request.Option) (*GetClusterSessionCredentialsOutput, error)

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

See GetClusterSessionCredentials 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) GetManagedScalingPolicy added in v1.30.11

func (c *EMR) GetManagedScalingPolicy(input *GetManagedScalingPolicyInput) (*GetManagedScalingPolicyOutput, error)

GetManagedScalingPolicy API operation for Amazon EMR.

Fetches the attached managed scaling policy for an Amazon 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 EMR's API operation GetManagedScalingPolicy for usage and error information. See also, https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/GetManagedScalingPolicy

func (*EMR) GetManagedScalingPolicyRequest added in v1.30.11

func (c *EMR) GetManagedScalingPolicyRequest(input *GetManagedScalingPolicyInput) (req *request.Request, output *GetManagedScalingPolicyOutput)

GetManagedScalingPolicyRequest generates a "aws/request.Request" representing the client's request for the GetManagedScalingPolicy 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 GetManagedScalingPolicy for more information on using the GetManagedScalingPolicy 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 GetManagedScalingPolicyRequest method.
req, resp := client.GetManagedScalingPolicyRequest(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/GetManagedScalingPolicy

func (*EMR) GetManagedScalingPolicyWithContext added in v1.30.11

func (c *EMR) GetManagedScalingPolicyWithContext(ctx aws.Context, input *GetManagedScalingPolicyInput, opts ...request.Option) (*GetManagedScalingPolicyOutput, error)

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

See GetManagedScalingPolicy 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) GetStudioSessionMapping added in v1.35.34

func (c *EMR) GetStudioSessionMapping(input *GetStudioSessionMappingInput) (*GetStudioSessionMappingOutput, error)

GetStudioSessionMapping API operation for Amazon EMR.

Fetches mapping details for the specified Amazon EMR Studio and identity (user or group).

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 EMR's API operation GetStudioSessionMapping for usage and error information.

Returned Error Types:

  • InternalServerError Indicates that an error occurred while processing the request and that the request was not completed.

  • 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/GetStudioSessionMapping

func (*EMR) GetStudioSessionMappingRequest added in v1.35.34

func (c *EMR) GetStudioSessionMappingRequest(input *GetStudioSessionMappingInput) (req *request.Request, output *GetStudioSessionMappingOutput)

GetStudioSessionMappingRequest generates a "aws/request.Request" representing the client's request for the GetStudioSessionMapping 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 GetStudioSessionMapping for more information on using the GetStudioSessionMapping 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 GetStudioSessionMappingRequest method.
req, resp := client.GetStudioSessionMappingRequest(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/GetStudioSessionMapping

func (*EMR) GetStudioSessionMappingWithContext added in v1.35.34

func (c *EMR) GetStudioSessionMappingWithContext(ctx aws.Context, input *GetStudioSessionMappingInput, opts ...request.Option) (*GetStudioSessionMappingOutput, error)

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

See GetStudioSessionMapping 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

func (c *EMR) ListBootstrapActions(input *ListBootstrapActionsInput) (*ListBootstrapActionsOutput, error)

ListBootstrapActions API operation for Amazon EMR.

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 EMR's API operation ListBootstrapActions for usage and error information.

Returned Error Types:

  • InternalServerException This exception occurs when there is an internal failure in the Amazon EMR service.

  • 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

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 added in v1.8.0

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

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 added in v1.8.0

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

func (c *EMR) ListClusters(input *ListClustersInput) (*ListClustersOutput, error)

ListClusters API operation for Amazon EMR.

Provides the status of all clusters visible to this Amazon Web Services 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 in unsorted order 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 EMR's API operation ListClusters for usage and error information.

Returned Error Types:

  • InternalServerException This exception occurs when there is an internal failure in the Amazon EMR service.

  • 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

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 added in v1.8.0

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

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 added in v1.8.0

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 added in v1.7.8

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

ListInstanceFleets API operation for Amazon EMR.

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

The instance fleet configuration is available only in Amazon EMR releases 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 EMR's API operation ListInstanceFleets for usage and error information.

Returned Error Types:

  • InternalServerException This exception occurs when there is an internal failure in the Amazon EMR service.

  • 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 added in v1.7.8

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 added in v1.8.0

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 added in v1.7.8

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 added in v1.8.0

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

func (c *EMR) ListInstanceGroups(input *ListInstanceGroupsInput) (*ListInstanceGroupsOutput, error)

ListInstanceGroups API operation for Amazon EMR.

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 EMR's API operation ListInstanceGroups for usage and error information.

Returned Error Types:

  • InternalServerException This exception occurs when there is an internal failure in the Amazon EMR service.

  • 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

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 added in v1.8.0

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

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 added in v1.8.0

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

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

ListInstances API operation for Amazon EMR.

Provides information for all active Amazon EC2 instances and Amazon EC2 instances terminated in the last 30 days, up to a maximum of 2,000. Amazon 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 EMR's API operation ListInstances for usage and error information.

Returned Error Types:

  • InternalServerException This exception occurs when there is an internal failure in the Amazon EMR service.

  • 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

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 added in v1.8.0

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

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 added in v1.8.0

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) ListNotebookExecutions added in v1.34.13

func (c *EMR) ListNotebookExecutions(input *ListNotebookExecutionsInput) (*ListNotebookExecutionsOutput, error)

ListNotebookExecutions API operation for Amazon EMR.

Provides summaries of all notebook executions. You can filter the list based on multiple criteria such as status, time range, and editor id. Returns a maximum of 50 notebook executions and a marker to track the paging of a longer notebook execution list across multiple ListNotebookExecutions 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 EMR's API operation ListNotebookExecutions for usage and error information.

Returned Error Types:

  • InternalServerError Indicates that an error occurred while processing the request and that the request was not completed.

  • 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/ListNotebookExecutions

func (*EMR) ListNotebookExecutionsPages added in v1.34.13

func (c *EMR) ListNotebookExecutionsPages(input *ListNotebookExecutionsInput, fn func(*ListNotebookExecutionsOutput, bool) bool) error

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

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

func (*EMR) ListNotebookExecutionsPagesWithContext added in v1.34.13

func (c *EMR) ListNotebookExecutionsPagesWithContext(ctx aws.Context, input *ListNotebookExecutionsInput, fn func(*ListNotebookExecutionsOutput, bool) bool, opts ...request.Option) error

ListNotebookExecutionsPagesWithContext same as ListNotebookExecutionsPages 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) ListNotebookExecutionsRequest added in v1.34.13

func (c *EMR) ListNotebookExecutionsRequest(input *ListNotebookExecutionsInput) (req *request.Request, output *ListNotebookExecutionsOutput)

ListNotebookExecutionsRequest generates a "aws/request.Request" representing the client's request for the ListNotebookExecutions 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 ListNotebookExecutions for more information on using the ListNotebookExecutions 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 ListNotebookExecutionsRequest method.
req, resp := client.ListNotebookExecutionsRequest(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/ListNotebookExecutions

func (*EMR) ListNotebookExecutionsWithContext added in v1.34.13

func (c *EMR) ListNotebookExecutionsWithContext(ctx aws.Context, input *ListNotebookExecutionsInput, opts ...request.Option) (*ListNotebookExecutionsOutput, error)

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

See ListNotebookExecutions 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) ListReleaseLabels added in v1.40.5

func (c *EMR) ListReleaseLabels(input *ListReleaseLabelsInput) (*ListReleaseLabelsOutput, error)

ListReleaseLabels API operation for Amazon EMR.

Retrieves release labels of Amazon EMR services in the Region where the API is called.

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 EMR's API operation ListReleaseLabels for usage and error information.

Returned Error Types:

  • InternalServerException This exception occurs when there is an internal failure in the Amazon EMR service.

  • 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/ListReleaseLabels

func (*EMR) ListReleaseLabelsPages added in v1.40.5

func (c *EMR) ListReleaseLabelsPages(input *ListReleaseLabelsInput, fn func(*ListReleaseLabelsOutput, bool) bool) error

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

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

func (*EMR) ListReleaseLabelsPagesWithContext added in v1.40.5

func (c *EMR) ListReleaseLabelsPagesWithContext(ctx aws.Context, input *ListReleaseLabelsInput, fn func(*ListReleaseLabelsOutput, bool) bool, opts ...request.Option) error

ListReleaseLabelsPagesWithContext same as ListReleaseLabelsPages 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) ListReleaseLabelsRequest added in v1.40.5

func (c *EMR) ListReleaseLabelsRequest(input *ListReleaseLabelsInput) (req *request.Request, output *ListReleaseLabelsOutput)

ListReleaseLabelsRequest generates a "aws/request.Request" representing the client's request for the ListReleaseLabels 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 ListReleaseLabels for more information on using the ListReleaseLabels 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 ListReleaseLabelsRequest method.
req, resp := client.ListReleaseLabelsRequest(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/ListReleaseLabels

func (*EMR) ListReleaseLabelsWithContext added in v1.40.5

func (c *EMR) ListReleaseLabelsWithContext(ctx aws.Context, input *ListReleaseLabelsInput, opts ...request.Option) (*ListReleaseLabelsOutput, error)

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

See ListReleaseLabels 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 added in v1.4.11

func (c *EMR) ListSecurityConfigurations(input *ListSecurityConfigurationsInput) (*ListSecurityConfigurationsOutput, error)

ListSecurityConfigurations API operation for Amazon EMR.

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 EMR's API operation ListSecurityConfigurations for usage and error information.

Returned Error Types:

  • InternalServerException This exception occurs when there is an internal failure in the Amazon EMR service.

  • 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 added in v1.19.7

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 added in v1.19.7

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 added in v1.4.11

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 added in v1.8.0

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

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

ListSteps API operation for Amazon EMR.

Provides a list of steps for the cluster in reverse order unless you specify stepIds with the request or filter by StepStates. You can specify a maximum of 10 stepIDs. The CLI automatically paginates results to return a list greater than 50 steps. To return more than 50 steps using the CLI, specify a Marker, which is a pagination token that indicates the next set of steps to retrieve.

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 EMR's API operation ListSteps for usage and error information.

Returned Error Types:

  • InternalServerException This exception occurs when there is an internal failure in the Amazon EMR service.

  • 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

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 added in v1.8.0

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

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 added in v1.8.0

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) ListStudioSessionMappings added in v1.35.34

func (c *EMR) ListStudioSessionMappings(input *ListStudioSessionMappingsInput) (*ListStudioSessionMappingsOutput, error)

ListStudioSessionMappings API operation for Amazon EMR.

Returns a list of all user or group session mappings for the Amazon EMR Studio specified by StudioId.

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 EMR's API operation ListStudioSessionMappings for usage and error information.

Returned Error Types:

  • InternalServerError Indicates that an error occurred while processing the request and that the request was not completed.

  • 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/ListStudioSessionMappings

func (*EMR) ListStudioSessionMappingsPages added in v1.35.34

func (c *EMR) ListStudioSessionMappingsPages(input *ListStudioSessionMappingsInput, fn func(*ListStudioSessionMappingsOutput, bool) bool) error

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

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

func (*EMR) ListStudioSessionMappingsPagesWithContext added in v1.35.34

func (c *EMR) ListStudioSessionMappingsPagesWithContext(ctx aws.Context, input *ListStudioSessionMappingsInput, fn func(*ListStudioSessionMappingsOutput, bool) bool, opts ...request.Option) error

ListStudioSessionMappingsPagesWithContext same as ListStudioSessionMappingsPages 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) ListStudioSessionMappingsRequest added in v1.35.34

func (c *EMR) ListStudioSessionMappingsRequest(input *ListStudioSessionMappingsInput) (req *request.Request, output *ListStudioSessionMappingsOutput)

ListStudioSessionMappingsRequest generates a "aws/request.Request" representing the client's request for the ListStudioSessionMappings 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 ListStudioSessionMappings for more information on using the ListStudioSessionMappings 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 ListStudioSessionMappingsRequest method.
req, resp := client.ListStudioSessionMappingsRequest(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/ListStudioSessionMappings

func (*EMR) ListStudioSessionMappingsWithContext added in v1.35.34

func (c *EMR) ListStudioSessionMappingsWithContext(ctx aws.Context, input *ListStudioSessionMappingsInput, opts ...request.Option) (*ListStudioSessionMappingsOutput, error)

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

See ListStudioSessionMappings 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) ListStudios added in v1.35.34

func (c *EMR) ListStudios(input *ListStudiosInput) (*ListStudiosOutput, error)

ListStudios API operation for Amazon EMR.

Returns a list of all Amazon EMR Studios associated with the Amazon Web Services account. The list includes details such as ID, Studio Access URL, and creation time for each Studio.

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 EMR's API operation ListStudios for usage and error information.

Returned Error Types:

  • InternalServerException This exception occurs when there is an internal failure in the Amazon EMR service.

  • 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/ListStudios

func (*EMR) ListStudiosPages added in v1.35.34

func (c *EMR) ListStudiosPages(input *ListStudiosInput, fn func(*ListStudiosOutput, bool) bool) error

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

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

func (*EMR) ListStudiosPagesWithContext added in v1.35.34

func (c *EMR) ListStudiosPagesWithContext(ctx aws.Context, input *ListStudiosInput, fn func(*ListStudiosOutput, bool) bool, opts ...request.Option) error

ListStudiosPagesWithContext same as ListStudiosPages 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) ListStudiosRequest added in v1.35.34

func (c *EMR) ListStudiosRequest(input *ListStudiosInput) (req *request.Request, output *ListStudiosOutput)

ListStudiosRequest generates a "aws/request.Request" representing the client's request for the ListStudios 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 ListStudios for more information on using the ListStudios 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 ListStudiosRequest method.
req, resp := client.ListStudiosRequest(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/ListStudios

func (*EMR) ListStudiosWithContext added in v1.35.34

func (c *EMR) ListStudiosWithContext(ctx aws.Context, input *ListStudiosInput, opts ...request.Option) (*ListStudiosOutput, error)

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

See ListStudios 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) ListSupportedInstanceTypes added in v1.44.287

func (c *EMR) ListSupportedInstanceTypes(input *ListSupportedInstanceTypesInput) (*ListSupportedInstanceTypesOutput, error)

ListSupportedInstanceTypes API operation for Amazon EMR.

A list of the instance types that Amazon EMR supports. You can filter the list by Amazon Web Services Region and Amazon EMR release.

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 EMR's API operation ListSupportedInstanceTypes for usage and error information.

Returned Error Types:

  • InternalServerException This exception occurs when there is an internal failure in the Amazon EMR service.

  • 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/ListSupportedInstanceTypes

func (*EMR) ListSupportedInstanceTypesPages added in v1.44.287

func (c *EMR) ListSupportedInstanceTypesPages(input *ListSupportedInstanceTypesInput, fn func(*ListSupportedInstanceTypesOutput, bool) bool) error

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

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

func (*EMR) ListSupportedInstanceTypesPagesWithContext added in v1.44.287

func (c *EMR) ListSupportedInstanceTypesPagesWithContext(ctx aws.Context, input *ListSupportedInstanceTypesInput, fn func(*ListSupportedInstanceTypesOutput, bool) bool, opts ...request.Option) error

ListSupportedInstanceTypesPagesWithContext same as ListSupportedInstanceTypesPages 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) ListSupportedInstanceTypesRequest added in v1.44.287

func (c *EMR) ListSupportedInstanceTypesRequest(input *ListSupportedInstanceTypesInput) (req *request.Request, output *ListSupportedInstanceTypesOutput)

ListSupportedInstanceTypesRequest generates a "aws/request.Request" representing the client's request for the ListSupportedInstanceTypes 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 ListSupportedInstanceTypes for more information on using the ListSupportedInstanceTypes 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 ListSupportedInstanceTypesRequest method.
req, resp := client.ListSupportedInstanceTypesRequest(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/ListSupportedInstanceTypes

func (*EMR) ListSupportedInstanceTypesWithContext added in v1.44.287

func (c *EMR) ListSupportedInstanceTypesWithContext(ctx aws.Context, input *ListSupportedInstanceTypesInput, opts ...request.Option) (*ListSupportedInstanceTypesOutput, error)

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

See ListSupportedInstanceTypes 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) ModifyCluster added in v1.25.41

func (c *EMR) ModifyCluster(input *ModifyClusterInput) (*ModifyClusterOutput, error)

ModifyCluster API operation for Amazon EMR.

Modifies the number of steps that can be executed concurrently for the cluster specified using ClusterID.

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 EMR's API operation ModifyCluster for usage and error information.

Returned Error Types:

  • InternalServerError Indicates that an error occurred while processing the request and that the request was not completed.

  • 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/ModifyCluster

func (*EMR) ModifyClusterRequest added in v1.25.41

func (c *EMR) ModifyClusterRequest(input *ModifyClusterInput) (req *request.Request, output *ModifyClusterOutput)

ModifyClusterRequest generates a "aws/request.Request" representing the client's request for the ModifyCluster 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 ModifyCluster for more information on using the ModifyCluster 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 ModifyClusterRequest method.
req, resp := client.ModifyClusterRequest(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/ModifyCluster

func (*EMR) ModifyClusterWithContext added in v1.25.41

func (c *EMR) ModifyClusterWithContext(ctx aws.Context, input *ModifyClusterInput, opts ...request.Option) (*ModifyClusterOutput, error)

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

See ModifyCluster 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 added in v1.7.8

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

ModifyInstanceFleet API operation for Amazon EMR.

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 releases 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 EMR's API operation ModifyInstanceFleet for usage and error information.

Returned Error Types:

  • InternalServerException This exception occurs when there is an internal failure in the Amazon EMR service.

  • 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 added in v1.7.8

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 added in v1.8.0

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

func (c *EMR) ModifyInstanceGroups(input *ModifyInstanceGroupsInput) (*ModifyInstanceGroupsOutput, error)

ModifyInstanceGroups API operation for Amazon EMR.

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 EMR's API operation ModifyInstanceGroups for usage and error information.

Returned Error Types:

  • 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

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 added in v1.8.0

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 added in v1.5.8

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

PutAutoScalingPolicy API operation for Amazon EMR.

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 Amazon 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 EMR'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 added in v1.5.8

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 added in v1.8.0

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) PutAutoTerminationPolicy added in v1.40.32

func (c *EMR) PutAutoTerminationPolicy(input *PutAutoTerminationPolicyInput) (*PutAutoTerminationPolicyOutput, error)

PutAutoTerminationPolicy API operation for Amazon EMR.

Auto-termination is supported in Amazon EMR releases 5.30.0 and 6.1.0 and later. For more information, see Using an auto-termination policy (https://docs.aws.amazon.com/emr/latest/ManagementGuide/emr-auto-termination-policy.html).

Creates or updates an auto-termination policy for an Amazon EMR cluster. An auto-termination policy defines the amount of idle time in seconds after which a cluster automatically terminates. For alternative cluster termination options, see Control cluster termination (https://docs.aws.amazon.com/emr/latest/ManagementGuide/emr-plan-termination.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 EMR's API operation PutAutoTerminationPolicy for usage and error information. See also, https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/PutAutoTerminationPolicy

func (*EMR) PutAutoTerminationPolicyRequest added in v1.40.32

func (c *EMR) PutAutoTerminationPolicyRequest(input *PutAutoTerminationPolicyInput) (req *request.Request, output *PutAutoTerminationPolicyOutput)

PutAutoTerminationPolicyRequest generates a "aws/request.Request" representing the client's request for the PutAutoTerminationPolicy 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 PutAutoTerminationPolicy for more information on using the PutAutoTerminationPolicy 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 PutAutoTerminationPolicyRequest method.
req, resp := client.PutAutoTerminationPolicyRequest(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/PutAutoTerminationPolicy

func (*EMR) PutAutoTerminationPolicyWithContext added in v1.40.32

func (c *EMR) PutAutoTerminationPolicyWithContext(ctx aws.Context, input *PutAutoTerminationPolicyInput, opts ...request.Option) (*PutAutoTerminationPolicyOutput, error)

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

See PutAutoTerminationPolicy 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) PutBlockPublicAccessConfiguration added in v1.23.3

func (c *EMR) PutBlockPublicAccessConfiguration(input *PutBlockPublicAccessConfigurationInput) (*PutBlockPublicAccessConfigurationOutput, error)

PutBlockPublicAccessConfiguration API operation for Amazon EMR.

Creates or updates an Amazon EMR block public access configuration for your Amazon Web Services account in the current Region. For more information see Configure Block Public Access for Amazon EMR (https://docs.aws.amazon.com/emr/latest/ManagementGuide/configure-block-public-access.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 EMR's API operation PutBlockPublicAccessConfiguration for usage and error information.

Returned Error Types:

  • InternalServerException This exception occurs when there is an internal failure in the Amazon EMR service.

  • 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/PutBlockPublicAccessConfiguration

func (*EMR) PutBlockPublicAccessConfigurationRequest added in v1.23.3

func (c *EMR) PutBlockPublicAccessConfigurationRequest(input *PutBlockPublicAccessConfigurationInput) (req *request.Request, output *PutBlockPublicAccessConfigurationOutput)

PutBlockPublicAccessConfigurationRequest generates a "aws/request.Request" representing the client's request for the PutBlockPublicAccessConfiguration 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 PutBlockPublicAccessConfiguration for more information on using the PutBlockPublicAccessConfiguration 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 PutBlockPublicAccessConfigurationRequest method.
req, resp := client.PutBlockPublicAccessConfigurationRequest(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/PutBlockPublicAccessConfiguration

func (*EMR) PutBlockPublicAccessConfigurationWithContext added in v1.23.3

func (c *EMR) PutBlockPublicAccessConfigurationWithContext(ctx aws.Context, input *PutBlockPublicAccessConfigurationInput, opts ...request.Option) (*PutBlockPublicAccessConfigurationOutput, error)

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

See PutBlockPublicAccessConfiguration 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) PutManagedScalingPolicy added in v1.30.11

func (c *EMR) PutManagedScalingPolicy(input *PutManagedScalingPolicyInput) (*PutManagedScalingPolicyOutput, error)

PutManagedScalingPolicy API operation for Amazon EMR.

Creates or updates a managed scaling policy for an Amazon EMR cluster. The managed scaling policy defines the limits for resources, such as Amazon EC2 instances that can be added or terminated from a cluster. The policy only applies to the core and task nodes. The master node cannot be scaled after initial 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 EMR's API operation PutManagedScalingPolicy for usage and error information. See also, https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/PutManagedScalingPolicy

func (*EMR) PutManagedScalingPolicyRequest added in v1.30.11

func (c *EMR) PutManagedScalingPolicyRequest(input *PutManagedScalingPolicyInput) (req *request.Request, output *PutManagedScalingPolicyOutput)

PutManagedScalingPolicyRequest generates a "aws/request.Request" representing the client's request for the PutManagedScalingPolicy 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 PutManagedScalingPolicy for more information on using the PutManagedScalingPolicy 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 PutManagedScalingPolicyRequest method.
req, resp := client.PutManagedScalingPolicyRequest(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/PutManagedScalingPolicy

func (*EMR) PutManagedScalingPolicyWithContext added in v1.30.11

func (c *EMR) PutManagedScalingPolicyWithContext(ctx aws.Context, input *PutManagedScalingPolicyInput, opts ...request.Option) (*PutManagedScalingPolicyOutput, error)

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

See PutManagedScalingPolicy 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 added in v1.5.8

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

RemoveAutoScalingPolicy API operation for Amazon EMR.

Removes an automatic scaling policy from a specified instance group within an Amazon 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 EMR'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 added in v1.5.8

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 added in v1.8.0

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) RemoveAutoTerminationPolicy added in v1.40.32

func (c *EMR) RemoveAutoTerminationPolicy(input *RemoveAutoTerminationPolicyInput) (*RemoveAutoTerminationPolicyOutput, error)

RemoveAutoTerminationPolicy API operation for Amazon EMR.

Removes an auto-termination policy from an Amazon 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 EMR's API operation RemoveAutoTerminationPolicy for usage and error information. See also, https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/RemoveAutoTerminationPolicy

func (*EMR) RemoveAutoTerminationPolicyRequest added in v1.40.32

func (c *EMR) RemoveAutoTerminationPolicyRequest(input *RemoveAutoTerminationPolicyInput) (req *request.Request, output *RemoveAutoTerminationPolicyOutput)

RemoveAutoTerminationPolicyRequest generates a "aws/request.Request" representing the client's request for the RemoveAutoTerminationPolicy 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 RemoveAutoTerminationPolicy for more information on using the RemoveAutoTerminationPolicy 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 RemoveAutoTerminationPolicyRequest method.
req, resp := client.RemoveAutoTerminationPolicyRequest(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/RemoveAutoTerminationPolicy

func (*EMR) RemoveAutoTerminationPolicyWithContext added in v1.40.32

func (c *EMR) RemoveAutoTerminationPolicyWithContext(ctx aws.Context, input *RemoveAutoTerminationPolicyInput, opts ...request.Option) (*RemoveAutoTerminationPolicyOutput, error)

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

See RemoveAutoTerminationPolicy 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) RemoveManagedScalingPolicy added in v1.30.11

func (c *EMR) RemoveManagedScalingPolicy(input *RemoveManagedScalingPolicyInput) (*RemoveManagedScalingPolicyOutput, error)

RemoveManagedScalingPolicy API operation for Amazon EMR.

Removes a managed scaling policy from a specified Amazon 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 EMR's API operation RemoveManagedScalingPolicy for usage and error information. See also, https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/RemoveManagedScalingPolicy

func (*EMR) RemoveManagedScalingPolicyRequest added in v1.30.11

func (c *EMR) RemoveManagedScalingPolicyRequest(input *RemoveManagedScalingPolicyInput) (req *request.Request, output *RemoveManagedScalingPolicyOutput)

RemoveManagedScalingPolicyRequest generates a "aws/request.Request" representing the client's request for the RemoveManagedScalingPolicy 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 RemoveManagedScalingPolicy for more information on using the RemoveManagedScalingPolicy 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 RemoveManagedScalingPolicyRequest method.
req, resp := client.RemoveManagedScalingPolicyRequest(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/RemoveManagedScalingPolicy

func (*EMR) RemoveManagedScalingPolicyWithContext added in v1.30.11

func (c *EMR) RemoveManagedScalingPolicyWithContext(ctx aws.Context, input *RemoveManagedScalingPolicyInput, opts ...request.Option) (*RemoveManagedScalingPolicyOutput, error)

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

See RemoveManagedScalingPolicy 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

func (c *EMR) RemoveTags(input *RemoveTagsInput) (*RemoveTagsOutput, error)

RemoveTags API operation for Amazon EMR.

Removes tags from an Amazon EMR resource, such as a cluster or Amazon EMR Studio. Tags make it easier to associate resources 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 EMR's API operation RemoveTags for usage and error information.

Returned Error Types:

  • InternalServerException This exception occurs when there is an internal failure in the Amazon EMR service.

  • 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

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 added in v1.8.0

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

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

RunJobFlow API operation for Amazon EMR.

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 long-running clusters, we recommend that you periodically store your results.

The instance fleets configuration is available only in Amazon EMR releases 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 EMR's API operation RunJobFlow for usage and error information.

Returned Error Types:

  • 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

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 added in v1.8.0

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) SetKeepJobFlowAliveWhenNoSteps added in v1.49.11

func (c *EMR) SetKeepJobFlowAliveWhenNoSteps(input *SetKeepJobFlowAliveWhenNoStepsInput) (*SetKeepJobFlowAliveWhenNoStepsOutput, error)

SetKeepJobFlowAliveWhenNoSteps API operation for Amazon EMR.

You can use the SetKeepJobFlowAliveWhenNoSteps to configure a cluster (job flow) to terminate after the step execution, i.e., all your steps are executed. If you want a transient cluster that shuts down after the last of the current executing steps are completed, you can configure SetKeepJobFlowAliveWhenNoSteps to false. If you want a long running cluster, configure SetKeepJobFlowAliveWhenNoSteps to true.

For more information, see Managing 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 EMR's API operation SetKeepJobFlowAliveWhenNoSteps for usage and error information.

Returned Error Types:

  • 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/SetKeepJobFlowAliveWhenNoSteps

func (*EMR) SetKeepJobFlowAliveWhenNoStepsRequest added in v1.49.11

func (c *EMR) SetKeepJobFlowAliveWhenNoStepsRequest(input *SetKeepJobFlowAliveWhenNoStepsInput) (req *request.Request, output *SetKeepJobFlowAliveWhenNoStepsOutput)

SetKeepJobFlowAliveWhenNoStepsRequest generates a "aws/request.Request" representing the client's request for the SetKeepJobFlowAliveWhenNoSteps 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 SetKeepJobFlowAliveWhenNoSteps for more information on using the SetKeepJobFlowAliveWhenNoSteps 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 SetKeepJobFlowAliveWhenNoStepsRequest method.
req, resp := client.SetKeepJobFlowAliveWhenNoStepsRequest(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/SetKeepJobFlowAliveWhenNoSteps

func (*EMR) SetKeepJobFlowAliveWhenNoStepsWithContext added in v1.49.11

func (c *EMR) SetKeepJobFlowAliveWhenNoStepsWithContext(ctx aws.Context, input *SetKeepJobFlowAliveWhenNoStepsInput, opts ...request.Option) (*SetKeepJobFlowAliveWhenNoStepsOutput, error)

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

See SetKeepJobFlowAliveWhenNoSteps 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

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

SetTerminationProtection API operation for Amazon EMR.

SetTerminationProtection locks a cluster (job flow) so the Amazon EC2 instances in the cluster cannot be terminated by user intervention, an API call, or in the event of a job-flow error. The cluster still terminates upon successful completion of the job flow. Calling SetTerminationProtection on a cluster is similar to calling the Amazon EC2 DisableAPITermination API on all Amazon 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, see Managing 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 EMR's API operation SetTerminationProtection for usage and error information.

Returned Error Types:

  • 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

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 added in v1.8.0

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) SetUnhealthyNodeReplacement added in v1.50.20

func (c *EMR) SetUnhealthyNodeReplacement(input *SetUnhealthyNodeReplacementInput) (*SetUnhealthyNodeReplacementOutput, error)

SetUnhealthyNodeReplacement API operation for Amazon EMR.

Specify whether to enable unhealthy node replacement, which lets Amazon EMR gracefully replace core nodes on a cluster if any nodes become unhealthy. For example, a node becomes unhealthy if disk usage is above 90%. If unhealthy node replacement is on and TerminationProtected are off, Amazon EMR immediately terminates the unhealthy core nodes. To use unhealthy node replacement and retain unhealthy core nodes, use to turn on termination protection. In such cases, Amazon EMR adds the unhealthy nodes to a denylist, reducing job interruptions and failures.

If unhealthy node replacement is on, Amazon EMR notifies YARN and other applications on the cluster to stop scheduling tasks with these nodes, moves the data, and then terminates the nodes.

For more information, see graceful node replacement (https://docs.aws.amazon.com/emr/latest/ManagementGuide/emr-plan-node-replacement.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 EMR's API operation SetUnhealthyNodeReplacement for usage and error information.

Returned Error Types:

  • 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/SetUnhealthyNodeReplacement

func (*EMR) SetUnhealthyNodeReplacementRequest added in v1.50.20

func (c *EMR) SetUnhealthyNodeReplacementRequest(input *SetUnhealthyNodeReplacementInput) (req *request.Request, output *SetUnhealthyNodeReplacementOutput)

SetUnhealthyNodeReplacementRequest generates a "aws/request.Request" representing the client's request for the SetUnhealthyNodeReplacement 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 SetUnhealthyNodeReplacement for more information on using the SetUnhealthyNodeReplacement 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 SetUnhealthyNodeReplacementRequest method.
req, resp := client.SetUnhealthyNodeReplacementRequest(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/SetUnhealthyNodeReplacement

func (*EMR) SetUnhealthyNodeReplacementWithContext added in v1.50.20

func (c *EMR) SetUnhealthyNodeReplacementWithContext(ctx aws.Context, input *SetUnhealthyNodeReplacementInput, opts ...request.Option) (*SetUnhealthyNodeReplacementOutput, error)

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

See SetUnhealthyNodeReplacement 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

func (c *EMR) SetVisibleToAllUsers(input *SetVisibleToAllUsersInput) (*SetVisibleToAllUsersOutput, error)

SetVisibleToAllUsers API operation for Amazon EMR.

The SetVisibleToAllUsers parameter is no longer supported. Your cluster may be visible to all users in your account. To restrict cluster access using an IAM policy, see Identity and Access Management for Amazon EMR (https://docs.aws.amazon.com/emr/latest/ManagementGuide/emr-plan-access-IAM.html).

Sets the Cluster$VisibleToAllUsers value for an Amazon EMR cluster. When true, IAM principals in the Amazon Web Services account can perform Amazon EMR cluster actions that their IAM policies allow. When false, only the IAM principal that created the cluster and the Amazon Web Services account root user can perform Amazon EMR actions on the cluster, regardless of IAM permissions policies attached to other IAM principals.

This action works on running clusters. When you create a cluster, use the RunJobFlowInput$VisibleToAllUsers parameter.

For more information, see Understanding the Amazon EMR Cluster VisibleToAllUsers Setting (https://docs.aws.amazon.com/emr/latest/ManagementGuide/security_IAM_emr-with-IAM.html#security_set_visible_to_all_users) 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 EMR's API operation SetVisibleToAllUsers for usage and error information.

Returned Error Types:

  • 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

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 added in v1.8.0

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) StartNotebookExecution added in v1.34.13

func (c *EMR) StartNotebookExecution(input *StartNotebookExecutionInput) (*StartNotebookExecutionOutput, error)

StartNotebookExecution API operation for Amazon EMR.

Starts a notebook execution.

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 EMR's API operation StartNotebookExecution for usage and error information.

Returned Error Types:

  • InternalServerException This exception occurs when there is an internal failure in the Amazon EMR service.

  • 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/StartNotebookExecution

func (*EMR) StartNotebookExecutionRequest added in v1.34.13

func (c *EMR) StartNotebookExecutionRequest(input *StartNotebookExecutionInput) (req *request.Request, output *StartNotebookExecutionOutput)

StartNotebookExecutionRequest generates a "aws/request.Request" representing the client's request for the StartNotebookExecution 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 StartNotebookExecution for more information on using the StartNotebookExecution 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 StartNotebookExecutionRequest method.
req, resp := client.StartNotebookExecutionRequest(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/StartNotebookExecution

func (*EMR) StartNotebookExecutionWithContext added in v1.34.13

func (c *EMR) StartNotebookExecutionWithContext(ctx aws.Context, input *StartNotebookExecutionInput, opts ...request.Option) (*StartNotebookExecutionOutput, error)

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

See StartNotebookExecution 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) StopNotebookExecution added in v1.34.13

func (c *EMR) StopNotebookExecution(input *StopNotebookExecutionInput) (*StopNotebookExecutionOutput, error)

StopNotebookExecution API operation for Amazon EMR.

Stops a notebook execution.

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 EMR's API operation StopNotebookExecution for usage and error information.

Returned Error Types:

  • InternalServerError Indicates that an error occurred while processing the request and that the request was not completed.

  • 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/StopNotebookExecution

func (*EMR) StopNotebookExecutionRequest added in v1.34.13

func (c *EMR) StopNotebookExecutionRequest(input *StopNotebookExecutionInput) (req *request.Request, output *StopNotebookExecutionOutput)

StopNotebookExecutionRequest generates a "aws/request.Request" representing the client's request for the StopNotebookExecution 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 StopNotebookExecution for more information on using the StopNotebookExecution 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 StopNotebookExecutionRequest method.
req, resp := client.StopNotebookExecutionRequest(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/StopNotebookExecution

func (*EMR) StopNotebookExecutionWithContext added in v1.34.13

func (c *EMR) StopNotebookExecutionWithContext(ctx aws.Context, input *StopNotebookExecutionInput, opts ...request.Option) (*StopNotebookExecutionOutput, error)

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

See StopNotebookExecution 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

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

TerminateJobFlows API operation for Amazon EMR.

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 Amazon 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 EMR's API operation TerminateJobFlows for usage and error information.

Returned Error Types:

  • 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

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 added in v1.8.0

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) UpdateStudio added in v1.37.20

func (c *EMR) UpdateStudio(input *UpdateStudioInput) (*UpdateStudioOutput, error)

UpdateStudio API operation for Amazon EMR.

Updates an Amazon EMR Studio configuration, including attributes such as name, description, and subnets.

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 EMR's API operation UpdateStudio for usage and error information.

Returned Error Types:

  • InternalServerException This exception occurs when there is an internal failure in the Amazon EMR service.

  • 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/UpdateStudio

func (*EMR) UpdateStudioRequest added in v1.37.20

func (c *EMR) UpdateStudioRequest(input *UpdateStudioInput) (req *request.Request, output *UpdateStudioOutput)

UpdateStudioRequest generates a "aws/request.Request" representing the client's request for the UpdateStudio 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 UpdateStudio for more information on using the UpdateStudio 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 UpdateStudioRequest method.
req, resp := client.UpdateStudioRequest(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/UpdateStudio

func (*EMR) UpdateStudioSessionMapping added in v1.35.34

func (c *EMR) UpdateStudioSessionMapping(input *UpdateStudioSessionMappingInput) (*UpdateStudioSessionMappingOutput, error)

UpdateStudioSessionMapping API operation for Amazon EMR.

Updates the session policy attached to the user or group for the specified Amazon EMR Studio.

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 EMR's API operation UpdateStudioSessionMapping for usage and error information.

Returned Error Types:

  • InternalServerError Indicates that an error occurred while processing the request and that the request was not completed.

  • 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/UpdateStudioSessionMapping

func (*EMR) UpdateStudioSessionMappingRequest added in v1.35.34

func (c *EMR) UpdateStudioSessionMappingRequest(input *UpdateStudioSessionMappingInput) (req *request.Request, output *UpdateStudioSessionMappingOutput)

UpdateStudioSessionMappingRequest generates a "aws/request.Request" representing the client's request for the UpdateStudioSessionMapping 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 UpdateStudioSessionMapping for more information on using the UpdateStudioSessionMapping 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 UpdateStudioSessionMappingRequest method.
req, resp := client.UpdateStudioSessionMappingRequest(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/UpdateStudioSessionMapping

func (*EMR) UpdateStudioSessionMappingWithContext added in v1.35.34

func (c *EMR) UpdateStudioSessionMappingWithContext(ctx aws.Context, input *UpdateStudioSessionMappingInput, opts ...request.Option) (*UpdateStudioSessionMappingOutput, error)

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

See UpdateStudioSessionMapping 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) UpdateStudioWithContext added in v1.37.20

func (c *EMR) UpdateStudioWithContext(ctx aws.Context, input *UpdateStudioInput, opts ...request.Option) (*UpdateStudioOutput, error)

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

See UpdateStudio 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 added in v0.10.3

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

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

func (*EMR) WaitUntilClusterRunningWithContext added in v1.8.0

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 added in v1.7.8

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 added in v1.8.0

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 added in v0.10.3

func (c *EMR) WaitUntilStepComplete(input *DescribeStepInput) error

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

func (*EMR) WaitUntilStepCompleteWithContext added in v1.8.0

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 added in v1.1.3

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, size (GiB) and throughput
	// (MiB/s) that are requested for the EBS volume attached to an Amazon EC2 instance
	// in the cluster.
	VolumeSpecification *VolumeSpecification `type:"structure"`
	// contains filtered or unexported fields
}

Configuration of requested EBS block device associated with the instance group.

func (EbsBlockDevice) GoString added in v1.1.3

func (s EbsBlockDevice) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*EbsBlockDevice) SetDevice added in v1.5.0

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

SetDevice sets the Device field's value.

func (*EbsBlockDevice) SetVolumeSpecification added in v1.5.0

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

SetVolumeSpecification sets the VolumeSpecification field's value.

func (EbsBlockDevice) String added in v1.1.3

func (s EbsBlockDevice) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type EbsBlockDeviceConfig added in v1.1.3

type EbsBlockDeviceConfig struct {

	// EBS volume specifications such as volume type, IOPS, size (GiB) and throughput
	// (MiB/s) that are requested for the EBS volume attached to an Amazon 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 are 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 are associated to every instance.

func (EbsBlockDeviceConfig) GoString added in v1.1.3

func (s EbsBlockDeviceConfig) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*EbsBlockDeviceConfig) SetVolumeSpecification added in v1.5.0

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

SetVolumeSpecification sets the VolumeSpecification field's value.

func (*EbsBlockDeviceConfig) SetVolumesPerInstance added in v1.5.0

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

SetVolumesPerInstance sets the VolumesPerInstance field's value.

func (EbsBlockDeviceConfig) String added in v1.1.3

func (s EbsBlockDeviceConfig) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*EbsBlockDeviceConfig) Validate added in v1.1.21

func (s *EbsBlockDeviceConfig) Validate() error

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

type EbsConfiguration added in v1.1.3

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 added in v1.1.3

func (s EbsConfiguration) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*EbsConfiguration) SetEbsBlockDeviceConfigs added in v1.5.0

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

SetEbsBlockDeviceConfigs sets the EbsBlockDeviceConfigs field's value.

func (*EbsConfiguration) SetEbsOptimized added in v1.5.0

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

SetEbsOptimized sets the EbsOptimized field's value.

func (EbsConfiguration) String added in v1.1.3

func (s EbsConfiguration) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*EbsConfiguration) Validate added in v1.1.21

func (s *EbsConfiguration) Validate() error

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

type EbsVolume added in v1.1.3

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 Amazon EC2 instance.

func (EbsVolume) GoString added in v1.1.3

func (s EbsVolume) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*EbsVolume) SetDevice added in v1.5.0

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

SetDevice sets the Device field's value.

func (*EbsVolume) SetVolumeId added in v1.5.0

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

SetVolumeId sets the VolumeId field's value.

func (EbsVolume) String added in v1.1.3

func (s EbsVolume) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type Ec2InstanceAttributes added in v0.9.5

type Ec2InstanceAttributes struct {

	// A list of additional Amazon EC2 security group IDs for the master node.
	AdditionalMasterSecurityGroups []*string `type:"list"`

	// A list of additional Amazon EC2 security group IDs for the 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"`

	// 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, and your account
	// supports EC2-Classic, the cluster launches in EC2-Classic.
	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 Amazon
	// 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 Amazon 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
	// Amazon EC2 cluster instances. Subnets must exist within the same VPC. Amazon
	// EMR chooses the Amazon 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 Amazon EC2 instances in a cluster grouped by category. For example, key name, subnet ID, IAM instance profile, and so on.

func (Ec2InstanceAttributes) GoString added in v0.9.5

func (s Ec2InstanceAttributes) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*Ec2InstanceAttributes) SetAdditionalMasterSecurityGroups added in v1.5.0

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

SetAdditionalMasterSecurityGroups sets the AdditionalMasterSecurityGroups field's value.

func (*Ec2InstanceAttributes) SetAdditionalSlaveSecurityGroups added in v1.5.0

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

SetAdditionalSlaveSecurityGroups sets the AdditionalSlaveSecurityGroups field's value.

func (*Ec2InstanceAttributes) SetEc2AvailabilityZone added in v1.5.0

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

SetEc2AvailabilityZone sets the Ec2AvailabilityZone field's value.

func (*Ec2InstanceAttributes) SetEc2KeyName added in v1.5.0

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

SetEc2KeyName sets the Ec2KeyName field's value.

func (*Ec2InstanceAttributes) SetEc2SubnetId added in v1.5.0

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

SetEc2SubnetId sets the Ec2SubnetId field's value.

func (*Ec2InstanceAttributes) SetEmrManagedMasterSecurityGroup added in v1.5.0

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

SetEmrManagedMasterSecurityGroup sets the EmrManagedMasterSecurityGroup field's value.

func (*Ec2InstanceAttributes) SetEmrManagedSlaveSecurityGroup added in v1.5.0

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

SetEmrManagedSlaveSecurityGroup sets the EmrManagedSlaveSecurityGroup field's value.

func (*Ec2InstanceAttributes) SetIamInstanceProfile added in v1.5.0

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

SetIamInstanceProfile sets the IamInstanceProfile field's value.

func (*Ec2InstanceAttributes) SetRequestedEc2AvailabilityZones added in v1.7.8

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

SetRequestedEc2AvailabilityZones sets the RequestedEc2AvailabilityZones field's value.

func (*Ec2InstanceAttributes) SetRequestedEc2SubnetIds added in v1.7.8

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

SetRequestedEc2SubnetIds sets the RequestedEc2SubnetIds field's value.

func (*Ec2InstanceAttributes) SetServiceAccessSecurityGroup added in v1.5.0

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

SetServiceAccessSecurityGroup sets the ServiceAccessSecurityGroup field's value.

func (Ec2InstanceAttributes) String added in v0.9.5

func (s Ec2InstanceAttributes) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type ErrorDetail added in v1.44.233

type ErrorDetail struct {

	// The name or code associated with the error.
	ErrorCode *string `type:"string"`

	// A list of key value pairs that provides contextual information about why
	// an error occured.
	ErrorData []map[string]*string `type:"list"`

	// A message that describes the error.
	ErrorMessage *string `type:"string"`
	// contains filtered or unexported fields
}

A tuple that provides information about an error that caused a cluster to terminate.

func (ErrorDetail) GoString added in v1.44.233

func (s ErrorDetail) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ErrorDetail) SetErrorCode added in v1.44.233

func (s *ErrorDetail) SetErrorCode(v string) *ErrorDetail

SetErrorCode sets the ErrorCode field's value.

func (*ErrorDetail) SetErrorData added in v1.44.233

func (s *ErrorDetail) SetErrorData(v []map[string]*string) *ErrorDetail

SetErrorData sets the ErrorData field's value.

func (*ErrorDetail) SetErrorMessage added in v1.44.233

func (s *ErrorDetail) SetErrorMessage(v string) *ErrorDetail

SetErrorMessage sets the ErrorMessage field's value.

func (ErrorDetail) String added in v1.44.233

func (s ErrorDetail) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type ExecutionEngineConfig added in v1.34.13

type ExecutionEngineConfig struct {

	// The execution role ARN required for the notebook execution.
	ExecutionRoleArn *string `min:"20" type:"string"`

	// The unique identifier of the execution engine. For an Amazon EMR cluster,
	// this is the cluster ID.
	//
	// Id is a required field
	Id *string `type:"string" required:"true"`

	// An optional unique ID of an Amazon EC2 security group to associate with the
	// master instance of the Amazon EMR cluster for this notebook execution. For
	// more information see Specifying Amazon EC2 Security Groups for Amazon EMR
	// Notebooks (https://docs.aws.amazon.com/emr/latest/ManagementGuide/emr-managed-notebooks-security-groups.html)
	// in the EMR Management Guide.
	MasterInstanceSecurityGroupId *string `type:"string"`

	// The type of execution engine. A value of EMR specifies an Amazon EMR cluster.
	Type *string `type:"string" enum:"ExecutionEngineType"`
	// contains filtered or unexported fields
}

Specifies the execution engine (cluster) to run the notebook and perform the notebook execution, for example, an Amazon EMR cluster.

func (ExecutionEngineConfig) GoString added in v1.34.13

func (s ExecutionEngineConfig) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ExecutionEngineConfig) SetExecutionRoleArn added in v1.44.261

func (s *ExecutionEngineConfig) SetExecutionRoleArn(v string) *ExecutionEngineConfig

SetExecutionRoleArn sets the ExecutionRoleArn field's value.

func (*ExecutionEngineConfig) SetId added in v1.34.13

SetId sets the Id field's value.

func (*ExecutionEngineConfig) SetMasterInstanceSecurityGroupId added in v1.34.13

func (s *ExecutionEngineConfig) SetMasterInstanceSecurityGroupId(v string) *ExecutionEngineConfig

SetMasterInstanceSecurityGroupId sets the MasterInstanceSecurityGroupId field's value.

func (*ExecutionEngineConfig) SetType added in v1.34.13

SetType sets the Type field's value.

func (ExecutionEngineConfig) String added in v1.34.13

func (s ExecutionEngineConfig) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ExecutionEngineConfig) Validate added in v1.34.13

func (s *ExecutionEngineConfig) Validate() error

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

type FailureDetails added in v1.3.0

type FailureDetails struct {

	// The path to the log file where the step failure root cause was originally
	// recorded.
	LogFile *string `type:"string"`

	// The descriptive message including the error the Amazon EMR service has identified
	// as the cause of step failure. This is text from an error log that describes
	// the root cause of the failure.
	Message *string `type:"string"`

	// The reason for the step failure. In the case where the service cannot successfully
	// determine the root cause of the failure, it returns "Unknown Error" as a
	// reason.
	Reason *string `type:"string"`
	// contains filtered or unexported fields
}

The details of the step failure. The service attempts to detect the root cause for many common failures.

func (FailureDetails) GoString added in v1.3.0

func (s FailureDetails) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*FailureDetails) SetLogFile added in v1.5.0

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

SetLogFile sets the LogFile field's value.

func (*FailureDetails) SetMessage added in v1.5.0

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

SetMessage sets the Message field's value.

func (*FailureDetails) SetReason added in v1.5.0

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

SetReason sets the Reason field's value.

func (FailureDetails) String added in v1.3.0

func (s FailureDetails) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type GetAutoTerminationPolicyInput added in v1.40.32

type GetAutoTerminationPolicyInput struct {

	// Specifies the ID of the Amazon EMR cluster for which the auto-termination
	// policy will be fetched.
	//
	// ClusterId is a required field
	ClusterId *string `type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (GetAutoTerminationPolicyInput) GoString added in v1.40.32

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*GetAutoTerminationPolicyInput) SetClusterId added in v1.40.32

SetClusterId sets the ClusterId field's value.

func (GetAutoTerminationPolicyInput) String added in v1.40.32

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*GetAutoTerminationPolicyInput) Validate added in v1.40.32

func (s *GetAutoTerminationPolicyInput) Validate() error

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

type GetAutoTerminationPolicyOutput added in v1.40.32

type GetAutoTerminationPolicyOutput struct {

	// Specifies the auto-termination policy that is attached to an Amazon EMR cluster.
	AutoTerminationPolicy *AutoTerminationPolicy `type:"structure"`
	// contains filtered or unexported fields
}

func (GetAutoTerminationPolicyOutput) GoString added in v1.40.32

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*GetAutoTerminationPolicyOutput) SetAutoTerminationPolicy added in v1.40.32

SetAutoTerminationPolicy sets the AutoTerminationPolicy field's value.

func (GetAutoTerminationPolicyOutput) String added in v1.40.32

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type GetBlockPublicAccessConfigurationInput added in v1.23.3

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

func (GetBlockPublicAccessConfigurationInput) GoString added in v1.23.3

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (GetBlockPublicAccessConfigurationInput) String added in v1.23.3

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type GetBlockPublicAccessConfigurationOutput added in v1.23.3

type GetBlockPublicAccessConfigurationOutput struct {

	// A configuration for Amazon EMR block public access. The configuration applies
	// to all clusters created in your account for the current Region. The configuration
	// specifies whether block public access is enabled. If block public access
	// is enabled, security groups associated with the cluster cannot have rules
	// that allow inbound traffic from 0.0.0.0/0 or ::/0 on a port, unless the port
	// is specified as an exception using PermittedPublicSecurityGroupRuleRanges
	// in the BlockPublicAccessConfiguration. By default, Port 22 (SSH) is an exception,
	// and public access is allowed on this port. You can change this by updating
	// the block public access configuration to remove the exception.
	//
	// For accounts that created clusters in a Region before November 25, 2019,
	// block public access is disabled by default in that Region. To use this feature,
	// you must manually enable and configure it. For accounts that did not create
	// an Amazon EMR cluster in a Region before this date, block public access is
	// enabled by default in that Region.
	//
	// BlockPublicAccessConfiguration is a required field
	BlockPublicAccessConfiguration *BlockPublicAccessConfiguration `type:"structure" required:"true"`

	// Properties that describe the Amazon Web Services principal that created the
	// BlockPublicAccessConfiguration using the PutBlockPublicAccessConfiguration
	// action as well as the date and time that the configuration was created. Each
	// time a configuration for block public access is updated, Amazon EMR updates
	// this metadata.
	//
	// BlockPublicAccessConfigurationMetadata is a required field
	BlockPublicAccessConfigurationMetadata *BlockPublicAccessConfigurationMetadata `type:"structure" required:"true"`
	// contains filtered or unexported fields
}

func (GetBlockPublicAccessConfigurationOutput) GoString added in v1.23.3

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*GetBlockPublicAccessConfigurationOutput) SetBlockPublicAccessConfiguration added in v1.23.3

SetBlockPublicAccessConfiguration sets the BlockPublicAccessConfiguration field's value.

func (*GetBlockPublicAccessConfigurationOutput) SetBlockPublicAccessConfigurationMetadata added in v1.23.3

SetBlockPublicAccessConfigurationMetadata sets the BlockPublicAccessConfigurationMetadata field's value.

func (GetBlockPublicAccessConfigurationOutput) String added in v1.23.3

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type GetClusterSessionCredentialsInput added in v1.44.170

type GetClusterSessionCredentialsInput struct {

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

	// The Amazon Resource Name (ARN) of the runtime role for interactive workload
	// submission on the cluster. The runtime role can be a cross-account IAM role.
	// The runtime role ARN is a combination of account ID, role name, and role
	// type using the following format: arn:partition:service:region:account:resource.
	ExecutionRoleArn *string `min:"20" type:"string"`
	// contains filtered or unexported fields
}

func (GetClusterSessionCredentialsInput) GoString added in v1.44.170

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*GetClusterSessionCredentialsInput) SetClusterId added in v1.44.170

SetClusterId sets the ClusterId field's value.

func (*GetClusterSessionCredentialsInput) SetExecutionRoleArn added in v1.44.170

SetExecutionRoleArn sets the ExecutionRoleArn field's value.

func (GetClusterSessionCredentialsInput) String added in v1.44.170

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*GetClusterSessionCredentialsInput) Validate added in v1.44.170

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

type GetClusterSessionCredentialsOutput added in v1.44.170

type GetClusterSessionCredentialsOutput struct {

	// The credentials that you can use to connect to cluster endpoints that support
	// username and password authentication.
	Credentials *Credentials `type:"structure"`

	// The time when the credentials that are returned by the GetClusterSessionCredentials
	// API expire.
	ExpiresAt *time.Time `type:"timestamp"`
	// contains filtered or unexported fields
}

func (GetClusterSessionCredentialsOutput) GoString added in v1.44.170

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*GetClusterSessionCredentialsOutput) SetCredentials added in v1.44.170

SetCredentials sets the Credentials field's value.

func (*GetClusterSessionCredentialsOutput) SetExpiresAt added in v1.44.170

SetExpiresAt sets the ExpiresAt field's value.

func (GetClusterSessionCredentialsOutput) String added in v1.44.170

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type GetManagedScalingPolicyInput added in v1.30.11

type GetManagedScalingPolicyInput struct {

	// Specifies the ID of the cluster for which the managed scaling policy will
	// be fetched.
	//
	// ClusterId is a required field
	ClusterId *string `type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (GetManagedScalingPolicyInput) GoString added in v1.30.11

func (s GetManagedScalingPolicyInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*GetManagedScalingPolicyInput) SetClusterId added in v1.30.11

SetClusterId sets the ClusterId field's value.

func (GetManagedScalingPolicyInput) String added in v1.30.11

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*GetManagedScalingPolicyInput) Validate added in v1.30.11

func (s *GetManagedScalingPolicyInput) Validate() error

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

type GetManagedScalingPolicyOutput added in v1.30.11

type GetManagedScalingPolicyOutput struct {

	// Specifies the managed scaling policy that is attached to an Amazon EMR cluster.
	ManagedScalingPolicy *ManagedScalingPolicy `type:"structure"`
	// contains filtered or unexported fields
}

func (GetManagedScalingPolicyOutput) GoString added in v1.30.11

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*GetManagedScalingPolicyOutput) SetManagedScalingPolicy added in v1.30.11

SetManagedScalingPolicy sets the ManagedScalingPolicy field's value.

func (GetManagedScalingPolicyOutput) String added in v1.30.11

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type GetStudioSessionMappingInput added in v1.35.34

type GetStudioSessionMappingInput struct {

	// The globally unique identifier (GUID) of the user or group. For more information,
	// see UserId (https://docs.aws.amazon.com/singlesignon/latest/IdentityStoreAPIReference/API_User.html#singlesignon-Type-User-UserId)
	// and GroupId (https://docs.aws.amazon.com/singlesignon/latest/IdentityStoreAPIReference/API_Group.html#singlesignon-Type-Group-GroupId)
	// in the IAM Identity Center Identity Store API Reference. Either IdentityName
	// or IdentityId must be specified.
	IdentityId *string `type:"string"`

	// The name of the user or group to fetch. For more information, see UserName
	// (https://docs.aws.amazon.com/singlesignon/latest/IdentityStoreAPIReference/API_User.html#singlesignon-Type-User-UserName)
	// and DisplayName (https://docs.aws.amazon.com/singlesignon/latest/IdentityStoreAPIReference/API_Group.html#singlesignon-Type-Group-DisplayName)
	// in the IAM Identity Center Identity Store API Reference. Either IdentityName
	// or IdentityId must be specified.
	IdentityName *string `type:"string"`

	// Specifies whether the identity to fetch is a user or a group.
	//
	// IdentityType is a required field
	IdentityType *string `type:"string" required:"true" enum:"IdentityType"`

	// The ID of the Amazon EMR Studio.
	//
	// StudioId is a required field
	StudioId *string `type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (GetStudioSessionMappingInput) GoString added in v1.35.34

func (s GetStudioSessionMappingInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*GetStudioSessionMappingInput) SetIdentityId added in v1.35.34

SetIdentityId sets the IdentityId field's value.

func (*GetStudioSessionMappingInput) SetIdentityName added in v1.35.34

SetIdentityName sets the IdentityName field's value.

func (*GetStudioSessionMappingInput) SetIdentityType added in v1.35.34

SetIdentityType sets the IdentityType field's value.

func (*GetStudioSessionMappingInput) SetStudioId added in v1.35.34

SetStudioId sets the StudioId field's value.

func (GetStudioSessionMappingInput) String added in v1.35.34

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*GetStudioSessionMappingInput) Validate added in v1.35.34

func (s *GetStudioSessionMappingInput) Validate() error

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

type GetStudioSessionMappingOutput added in v1.35.34

type GetStudioSessionMappingOutput struct {

	// The session mapping details for the specified Amazon EMR Studio and identity,
	// including session policy ARN and creation time.
	SessionMapping *SessionMappingDetail `type:"structure"`
	// contains filtered or unexported fields
}

func (GetStudioSessionMappingOutput) GoString added in v1.35.34

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*GetStudioSessionMappingOutput) SetSessionMapping added in v1.35.34

SetSessionMapping sets the SessionMapping field's value.

func (GetStudioSessionMappingOutput) String added in v1.35.34

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type HadoopJarStepConfig added in v0.9.5

type HadoopJarStepConfig struct {

	// A list of command line arguments passed to the JAR file's main function when
	// executed.
	Args []*string `type:"list"`

	// A path to a JAR file run during the step.
	//
	// Jar is a required field
	Jar *string `type:"string" required:"true"`

	// The name of the main class in the specified Java file. If not specified,
	// the JAR file should specify a Main-Class in its manifest file.
	MainClass *string `type:"string"`

	// A list of Java properties that are set when the step runs. You can use these
	// properties to pass key-value pairs to your main function.
	Properties []*KeyValue `type:"list"`
	// contains filtered or unexported fields
}

A job flow step consisting of a JAR file whose main function will be executed. The main function submits a job for Hadoop to execute and waits for the job to finish or fail.

func (HadoopJarStepConfig) GoString added in v0.9.5

func (s HadoopJarStepConfig) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*HadoopJarStepConfig) SetArgs added in v1.5.0

SetArgs sets the Args field's value.

func (*HadoopJarStepConfig) SetJar added in v1.5.0

SetJar sets the Jar field's value.

func (*HadoopJarStepConfig) SetMainClass added in v1.5.0

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

SetMainClass sets the MainClass field's value.

func (*HadoopJarStepConfig) SetProperties added in v1.5.0

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

SetProperties sets the Properties field's value.

func (HadoopJarStepConfig) String added in v0.9.5

func (s HadoopJarStepConfig) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*HadoopJarStepConfig) Validate added in v1.1.21

func (s *HadoopJarStepConfig) Validate() error

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

type HadoopStepConfig

type HadoopStepConfig struct {

	// The list of command line arguments to pass to the JAR file's main function
	// for execution.
	Args []*string `type:"list"`

	// The path to the JAR file that runs during the step.
	Jar *string `type:"string"`

	// The name of the main class in the specified Java file. If not specified,
	// the JAR file should specify a main class in its manifest file.
	MainClass *string `type:"string"`

	// The list of Java properties that are set when the step runs. You can use
	// these properties to pass key-value pairs to your main function.
	Properties map[string]*string `type:"map"`
	// contains filtered or unexported fields
}

A cluster step consisting of a JAR file whose main function will be executed. The main function submits a job for Hadoop to execute and waits for the job to finish or fail.

func (HadoopStepConfig) GoString added in v0.6.5

func (s HadoopStepConfig) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*HadoopStepConfig) SetArgs added in v1.5.0

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

SetArgs sets the Args field's value.

func (*HadoopStepConfig) SetJar added in v1.5.0

SetJar sets the Jar field's value.

func (*HadoopStepConfig) SetMainClass added in v1.5.0

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

SetMainClass sets the MainClass field's value.

func (*HadoopStepConfig) SetProperties added in v1.5.0

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

SetProperties sets the Properties field's value.

func (HadoopStepConfig) String added in v0.6.5

func (s HadoopStepConfig) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type Instance

type Instance struct {

	// The list of Amazon 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 Amazon EC2 instance
	// belongs.
	InstanceFleetId *string `type:"string"`

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

	// The Amazon 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 Amazon EC2 instance provisioned as part of cluster.

func (Instance) GoString added in v0.6.5

func (s Instance) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*Instance) SetEbsVolumes added in v1.5.0

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

SetEbsVolumes sets the EbsVolumes field's value.

func (*Instance) SetEc2InstanceId added in v1.5.0

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

SetEc2InstanceId sets the Ec2InstanceId field's value.

func (*Instance) SetId added in v1.5.0

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

SetId sets the Id field's value.

func (*Instance) SetInstanceFleetId added in v1.7.8

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

SetInstanceFleetId sets the InstanceFleetId field's value.

func (*Instance) SetInstanceGroupId added in v1.5.0

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

SetInstanceGroupId sets the InstanceGroupId field's value.

func (*Instance) SetInstanceType added in v1.7.8

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

SetInstanceType sets the InstanceType field's value.

func (*Instance) SetMarket added in v1.7.8

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

SetMarket sets the Market field's value.

func (*Instance) SetPrivateDnsName added in v1.5.0

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

SetPrivateDnsName sets the PrivateDnsName field's value.

func (*Instance) SetPrivateIpAddress added in v1.5.0

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

SetPrivateIpAddress sets the PrivateIpAddress field's value.

func (*Instance) SetPublicDnsName added in v1.5.0

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

SetPublicDnsName sets the PublicDnsName field's value.

func (*Instance) SetPublicIpAddress added in v1.5.0

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

SetPublicIpAddress sets the PublicIpAddress field's value.

func (*Instance) SetStatus added in v1.5.0

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

SetStatus sets the Status field's value.

func (Instance) String added in v0.6.5

func (s Instance) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type InstanceFleet added in v1.7.8

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"`

	// An array of specifications for the instance types that comprise an 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 resize specification for the instance fleet.
	ResizeSpecifications *InstanceFleetResizingSpecifications `type:"structure"`

	// 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 Amazon 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 releases 4.8.0 and later, excluding 5.0.x versions.

func (InstanceFleet) GoString added in v1.7.8

func (s InstanceFleet) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*InstanceFleet) SetId added in v1.7.8

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

SetId sets the Id field's value.

func (*InstanceFleet) SetInstanceFleetType added in v1.7.8

func (s *InstanceFleet) SetInstanceFleetType(v string) *InstanceFleet

SetInstanceFleetType sets the InstanceFleetType field's value.

func (*InstanceFleet) SetInstanceTypeSpecifications added in v1.7.8

func (s *InstanceFleet) SetInstanceTypeSpecifications(v []*InstanceTypeSpecification) *InstanceFleet

SetInstanceTypeSpecifications sets the InstanceTypeSpecifications field's value.

func (*InstanceFleet) SetLaunchSpecifications added in v1.7.8

SetLaunchSpecifications sets the LaunchSpecifications field's value.

func (*InstanceFleet) SetName added in v1.7.8

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

SetName sets the Name field's value.

func (*InstanceFleet) SetProvisionedOnDemandCapacity added in v1.7.8

func (s *InstanceFleet) SetProvisionedOnDemandCapacity(v int64) *InstanceFleet

SetProvisionedOnDemandCapacity sets the ProvisionedOnDemandCapacity field's value.

func (*InstanceFleet) SetProvisionedSpotCapacity added in v1.7.8

func (s *InstanceFleet) SetProvisionedSpotCapacity(v int64) *InstanceFleet

SetProvisionedSpotCapacity sets the ProvisionedSpotCapacity field's value.

func (*InstanceFleet) SetResizeSpecifications added in v1.44.203

func (s *InstanceFleet) SetResizeSpecifications(v *InstanceFleetResizingSpecifications) *InstanceFleet

SetResizeSpecifications sets the ResizeSpecifications field's value.

func (*InstanceFleet) SetStatus added in v1.7.8

SetStatus sets the Status field's value.

func (*InstanceFleet) SetTargetOnDemandCapacity added in v1.7.8

func (s *InstanceFleet) SetTargetOnDemandCapacity(v int64) *InstanceFleet

SetTargetOnDemandCapacity sets the TargetOnDemandCapacity field's value.

func (*InstanceFleet) SetTargetSpotCapacity added in v1.7.8

func (s *InstanceFleet) SetTargetSpotCapacity(v int64) *InstanceFleet

SetTargetSpotCapacity sets the TargetSpotCapacity field's value.

func (InstanceFleet) String added in v1.7.8

func (s InstanceFleet) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type InstanceFleetConfig added in v1.7.8

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 Amazon 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 resize specification for the instance fleet.
	ResizeSpecifications *InstanceFleetResizingSpecifications `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.
	//
	// 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 releases 4.8.0 and later, excluding 5.0.x versions.

func (InstanceFleetConfig) GoString added in v1.7.8

func (s InstanceFleetConfig) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*InstanceFleetConfig) SetInstanceFleetType added in v1.7.8

func (s *InstanceFleetConfig) SetInstanceFleetType(v string) *InstanceFleetConfig

SetInstanceFleetType sets the InstanceFleetType field's value.

func (*InstanceFleetConfig) SetInstanceTypeConfigs added in v1.7.8

func (s *InstanceFleetConfig) SetInstanceTypeConfigs(v []*InstanceTypeConfig) *InstanceFleetConfig

SetInstanceTypeConfigs sets the InstanceTypeConfigs field's value.

func (*InstanceFleetConfig) SetLaunchSpecifications added in v1.7.8

SetLaunchSpecifications sets the LaunchSpecifications field's value.

func (*InstanceFleetConfig) SetName added in v1.7.8

SetName sets the Name field's value.

func (*InstanceFleetConfig) SetResizeSpecifications added in v1.44.203

SetResizeSpecifications sets the ResizeSpecifications field's value.

func (*InstanceFleetConfig) SetTargetOnDemandCapacity added in v1.7.8

func (s *InstanceFleetConfig) SetTargetOnDemandCapacity(v int64) *InstanceFleetConfig

SetTargetOnDemandCapacity sets the TargetOnDemandCapacity field's value.

func (*InstanceFleetConfig) SetTargetSpotCapacity added in v1.7.8

func (s *InstanceFleetConfig) SetTargetSpotCapacity(v int64) *InstanceFleetConfig

SetTargetSpotCapacity sets the TargetSpotCapacity field's value.

func (InstanceFleetConfig) String added in v1.7.8

func (s InstanceFleetConfig) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*InstanceFleetConfig) Validate added in v1.7.8

func (s *InstanceFleetConfig) Validate() error

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

type InstanceFleetModifyConfig added in v1.7.8

type InstanceFleetModifyConfig struct {

	// A unique identifier for the instance fleet.
	//
	// InstanceFleetId is a required field
	InstanceFleetId *string `type:"string" required:"true"`

	// The resize specification for the instance fleet.
	ResizeSpecifications *InstanceFleetResizingSpecifications `type:"structure"`

	// 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 releases 4.8.0 and later, excluding 5.0.x versions.

func (InstanceFleetModifyConfig) GoString added in v1.7.8

func (s InstanceFleetModifyConfig) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*InstanceFleetModifyConfig) SetInstanceFleetId added in v1.7.8

SetInstanceFleetId sets the InstanceFleetId field's value.

func (*InstanceFleetModifyConfig) SetResizeSpecifications added in v1.44.203

SetResizeSpecifications sets the ResizeSpecifications field's value.

func (*InstanceFleetModifyConfig) SetTargetOnDemandCapacity added in v1.7.8

func (s *InstanceFleetModifyConfig) SetTargetOnDemandCapacity(v int64) *InstanceFleetModifyConfig

SetTargetOnDemandCapacity sets the TargetOnDemandCapacity field's value.

func (*InstanceFleetModifyConfig) SetTargetSpotCapacity added in v1.7.8

func (s *InstanceFleetModifyConfig) SetTargetSpotCapacity(v int64) *InstanceFleetModifyConfig

SetTargetSpotCapacity sets the TargetSpotCapacity field's value.

func (InstanceFleetModifyConfig) String added in v1.7.8

func (s InstanceFleetModifyConfig) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*InstanceFleetModifyConfig) Validate added in v1.7.8

func (s *InstanceFleetModifyConfig) Validate() error

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

type InstanceFleetProvisioningSpecifications added in v1.7.8

type InstanceFleetProvisioningSpecifications struct {

	// The launch specification for On-Demand Instances in the instance fleet, which
	// determines the allocation strategy.
	//
	// The instance fleet configuration is available only in Amazon EMR releases
	// 4.8.0 and later, excluding 5.0.x versions. On-Demand Instances allocation
	// strategy is available in Amazon EMR releases 5.12.1 and later.
	OnDemandSpecification *OnDemandProvisioningSpecification `type:"structure"`

	// The launch specification for Spot instances in the fleet, which determines
	// the defined duration, provisioning timeout behavior, and allocation strategy.
	SpotSpecification *SpotProvisioningSpecification `type:"structure"`
	// contains filtered or unexported fields
}

The launch specification for Spot Instances in the fleet, which determines the defined duration, provisioning timeout behavior, and allocation strategy.

The instance fleet configuration is available only in Amazon EMR releases 4.8.0 and later, excluding 5.0.x versions. On-Demand and Spot instance allocation strategies are available in Amazon EMR releases 5.12.1 and later.

func (InstanceFleetProvisioningSpecifications) GoString added in v1.7.8

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*InstanceFleetProvisioningSpecifications) SetOnDemandSpecification added in v1.32.9

SetOnDemandSpecification sets the OnDemandSpecification field's value.

func (*InstanceFleetProvisioningSpecifications) SetSpotSpecification added in v1.7.8

SetSpotSpecification sets the SpotSpecification field's value.

func (InstanceFleetProvisioningSpecifications) String added in v1.7.8

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*InstanceFleetProvisioningSpecifications) Validate added in v1.7.8

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

type InstanceFleetResizingSpecifications added in v1.44.203

type InstanceFleetResizingSpecifications struct {

	// The resize specification for On-Demand Instances in the instance fleet, which
	// contains the resize timeout period.
	OnDemandResizeSpecification *OnDemandResizingSpecification `type:"structure"`

	// The resize specification for Spot Instances in the instance fleet, which
	// contains the resize timeout period.
	SpotResizeSpecification *SpotResizingSpecification `type:"structure"`
	// contains filtered or unexported fields
}

The resize specification for On-Demand and Spot Instances in the fleet.

func (InstanceFleetResizingSpecifications) GoString added in v1.44.203

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*InstanceFleetResizingSpecifications) SetOnDemandResizeSpecification added in v1.44.203

SetOnDemandResizeSpecification sets the OnDemandResizeSpecification field's value.

func (*InstanceFleetResizingSpecifications) SetSpotResizeSpecification added in v1.44.203

SetSpotResizeSpecification sets the SpotResizeSpecification field's value.

func (InstanceFleetResizingSpecifications) String added in v1.44.203

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*InstanceFleetResizingSpecifications) Validate added in v1.44.203

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

type InstanceFleetStateChangeReason added in v1.7.8

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 releases 4.8.0 and later, excluding 5.0.x versions.

func (InstanceFleetStateChangeReason) GoString added in v1.7.8

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*InstanceFleetStateChangeReason) SetCode added in v1.7.8

SetCode sets the Code field's value.

func (*InstanceFleetStateChangeReason) SetMessage added in v1.7.8

SetMessage sets the Message field's value.

func (InstanceFleetStateChangeReason) String added in v1.7.8

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type InstanceFleetStatus added in v1.7.8

type InstanceFleetStatus struct {

	// A code representing the instance fleet status.
	//
	//    * PROVISIONING—The instance fleet is provisioning Amazon EC2 resources
	//    and is not yet ready to run jobs.
	//
	//    * BOOTSTRAPPING—Amazon EC2 instances and other resources have been provisioned
	//    and the bootstrap actions specified for the instances are underway.
	//
	//    * RUNNING—Amazon EC2 instances and other resources are running. They
	//    are either executing jobs or waiting to execute jobs.
	//
	//    * RESIZING—A resize operation is underway. Amazon EC2 instances are
	//    either being added or removed.
	//
	//    * SUSPENDED—A resize operation could not complete. Existing Amazon EC2
	//    instances are running, but instances can't be added or removed.
	//
	//    * TERMINATING—The instance fleet is terminating Amazon EC2 instances.
	//
	//    * TERMINATED—The instance fleet is no longer active, and all Amazon
	//    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 releases 4.8.0 and later, excluding 5.0.x versions.

func (InstanceFleetStatus) GoString added in v1.7.8

func (s InstanceFleetStatus) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*InstanceFleetStatus) SetState added in v1.7.8

SetState sets the State field's value.

func (*InstanceFleetStatus) SetStateChangeReason added in v1.7.8

SetStateChangeReason sets the StateChangeReason field's value.

func (*InstanceFleetStatus) SetTimeline added in v1.7.8

SetTimeline sets the Timeline field's value.

func (InstanceFleetStatus) String added in v1.7.8

func (s InstanceFleetStatus) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type InstanceFleetTimeline added in v1.7.8

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 releases 4.8.0 and later, excluding 5.0.x versions.

func (InstanceFleetTimeline) GoString added in v1.7.8

func (s InstanceFleetTimeline) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*InstanceFleetTimeline) SetCreationDateTime added in v1.7.8

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

SetCreationDateTime sets the CreationDateTime field's value.

func (*InstanceFleetTimeline) SetEndDateTime added in v1.7.8

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

SetEndDateTime sets the EndDateTime field's value.

func (*InstanceFleetTimeline) SetReadyDateTime added in v1.7.8

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

SetReadyDateTime sets the ReadyDateTime field's value.

func (InstanceFleetTimeline) String added in v1.7.8

func (s InstanceFleetTimeline) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type InstanceGroup

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 Amazon EC2 instances in response to
	// the value of a CloudWatch metric. See PutAutoScalingPolicy.
	AutoScalingPolicy *AutoScalingPolicyDescription `type:"structure"`

	// If specified, indicates that the instance group uses Spot Instances. This
	// is the maximum price you are willing to pay for Spot Instances. Specify OnDemandPrice
	// to set the amount equal to the On-Demand price, or specify an amount in USD.
	BidPrice *string `type:"string"`

	//
	// Amazon EMR releases 4.x or later.
	//
	// The list of configurations supplied for an Amazon 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 custom AMI ID to use for the provisioned instance group.
	CustomAmiId *string `type:"string"`

	// 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 Amazon 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 added in v0.6.5

func (s InstanceGroup) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*InstanceGroup) SetAutoScalingPolicy added in v1.5.8

func (s *InstanceGroup) SetAutoScalingPolicy(v *AutoScalingPolicyDescription) *InstanceGroup

SetAutoScalingPolicy sets the AutoScalingPolicy field's value.

func (*InstanceGroup) SetBidPrice added in v1.5.0

func (s *InstanceGroup) SetBidPrice(v string) *InstanceGroup

SetBidPrice sets the BidPrice field's value.

func (*InstanceGroup) SetConfigurations added in v1.5.0

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

SetConfigurations sets the Configurations field's value.

func (*InstanceGroup) SetConfigurationsVersion added in v1.19.7

func (s *InstanceGroup) SetConfigurationsVersion(v int64) *InstanceGroup

SetConfigurationsVersion sets the ConfigurationsVersion field's value.

func (*InstanceGroup) SetCustomAmiId added in v1.40.22

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

SetCustomAmiId sets the CustomAmiId field's value.

func (*InstanceGroup) SetEbsBlockDevices added in v1.5.0

func (s *InstanceGroup) SetEbsBlockDevices(v []*EbsBlockDevice) *InstanceGroup

SetEbsBlockDevices sets the EbsBlockDevices field's value.

func (*InstanceGroup) SetEbsOptimized added in v1.5.0

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

SetEbsOptimized sets the EbsOptimized field's value.

func (*InstanceGroup) SetId added in v1.5.0

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

SetId sets the Id field's value.

func (*InstanceGroup) SetInstanceGroupType added in v1.5.0

func (s *InstanceGroup) SetInstanceGroupType(v string) *InstanceGroup

SetInstanceGroupType sets the InstanceGroupType field's value.

func (*InstanceGroup) SetInstanceType added in v1.5.0

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

SetInstanceType sets the InstanceType field's value.

func (*InstanceGroup) SetLastSuccessfullyAppliedConfigurations added in v1.19.7

func (s *InstanceGroup) SetLastSuccessfullyAppliedConfigurations(v []*Configuration) *InstanceGroup

SetLastSuccessfullyAppliedConfigurations sets the LastSuccessfullyAppliedConfigurations field's value.

func (*InstanceGroup) SetLastSuccessfullyAppliedConfigurationsVersion added in v1.19.7

func (s *InstanceGroup) SetLastSuccessfullyAppliedConfigurationsVersion(v int64) *InstanceGroup

SetLastSuccessfullyAppliedConfigurationsVersion sets the LastSuccessfullyAppliedConfigurationsVersion field's value.

func (*InstanceGroup) SetMarket added in v1.5.0

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

SetMarket sets the Market field's value.

func (*InstanceGroup) SetName added in v1.5.0

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

SetName sets the Name field's value.

func (*InstanceGroup) SetRequestedInstanceCount added in v1.5.0

func (s *InstanceGroup) SetRequestedInstanceCount(v int64) *InstanceGroup

SetRequestedInstanceCount sets the RequestedInstanceCount field's value.

func (*InstanceGroup) SetRunningInstanceCount added in v1.5.0

func (s *InstanceGroup) SetRunningInstanceCount(v int64) *InstanceGroup

SetRunningInstanceCount sets the RunningInstanceCount field's value.

func (*InstanceGroup) SetShrinkPolicy added in v1.5.0

func (s *InstanceGroup) SetShrinkPolicy(v *ShrinkPolicy) *InstanceGroup

SetShrinkPolicy sets the ShrinkPolicy field's value.

func (*InstanceGroup) SetStatus added in v1.5.0

SetStatus sets the Status field's value.

func (InstanceGroup) String added in v0.6.5

func (s InstanceGroup) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type InstanceGroupConfig

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 Amazon EC2 instances in response to
	// the value of a CloudWatch metric. See PutAutoScalingPolicy.
	AutoScalingPolicy *AutoScalingPolicy `type:"structure"`

	// If specified, indicates that the instance group uses Spot Instances. This
	// is the maximum price you are willing to pay for Spot Instances. Specify OnDemandPrice
	// to set the amount equal to the On-Demand price, or specify an amount in USD.
	BidPrice *string `type:"string"`

	//
	// Amazon EMR releases 4.x or later.
	//
	// The list of configurations supplied for an Amazon EMR cluster instance group.
	// You can specify a separate configuration for each instance group (master,
	// core, and task).
	Configurations []*Configuration `type:"list"`

	// The custom AMI ID to use for the provisioned instance group.
	CustomAmiId *string `type:"string"`

	// EBS configurations that will be attached to each Amazon EC2 instance in the
	// instance group.
	EbsConfiguration *EbsConfiguration `type:"structure"`

	// Target number of instances for the instance group.
	//
	// InstanceCount is a required field
	InstanceCount *int64 `type:"integer" required:"true"`

	// The role of the instance group in the cluster.
	//
	// InstanceRole is a required field
	InstanceRole *string `type:"string" required:"true" enum:"InstanceRoleType"`

	// The Amazon EC2 instance type for all instances in the instance group.
	//
	// InstanceType is a required field
	InstanceType *string `min:"1" type:"string" required:"true"`

	// Market type of the Amazon EC2 instances used to create a cluster node.
	Market *string `type:"string" enum:"MarketType"`

	// Friendly name given to the instance group.
	Name *string `type:"string"`
	// contains filtered or unexported fields
}

Configuration defining a new instance group.

func (InstanceGroupConfig) GoString added in v0.6.5

func (s InstanceGroupConfig) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*InstanceGroupConfig) SetAutoScalingPolicy added in v1.5.8

func (s *InstanceGroupConfig) SetAutoScalingPolicy(v *AutoScalingPolicy) *InstanceGroupConfig

SetAutoScalingPolicy sets the AutoScalingPolicy field's value.

func (*InstanceGroupConfig) SetBidPrice added in v1.5.0

func (s *InstanceGroupConfig) SetBidPrice(v string) *InstanceGroupConfig

SetBidPrice sets the BidPrice field's value.

func (*InstanceGroupConfig) SetConfigurations added in v1.5.0

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

SetConfigurations sets the Configurations field's value.

func (*InstanceGroupConfig) SetCustomAmiId added in v1.40.22

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

SetCustomAmiId sets the CustomAmiId field's value.

func (*InstanceGroupConfig) SetEbsConfiguration added in v1.5.0

func (s *InstanceGroupConfig) SetEbsConfiguration(v *EbsConfiguration) *InstanceGroupConfig

SetEbsConfiguration sets the EbsConfiguration field's value.

func (*InstanceGroupConfig) SetInstanceCount added in v1.5.0

func (s *InstanceGroupConfig) SetInstanceCount(v int64) *InstanceGroupConfig

SetInstanceCount sets the InstanceCount field's value.

func (*InstanceGroupConfig) SetInstanceRole added in v1.5.0

func (s *InstanceGroupConfig) SetInstanceRole(v string) *InstanceGroupConfig

SetInstanceRole sets the InstanceRole field's value.

func (*InstanceGroupConfig) SetInstanceType added in v1.5.0

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

SetInstanceType sets the InstanceType field's value.

func (*InstanceGroupConfig) SetMarket added in v1.5.0

SetMarket sets the Market field's value.

func (*InstanceGroupConfig) SetName added in v1.5.0

SetName sets the Name field's value.

func (InstanceGroupConfig) String added in v0.6.5

func (s InstanceGroupConfig) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*InstanceGroupConfig) Validate added in v1.1.21

func (s *InstanceGroupConfig) Validate() error

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

type InstanceGroupDetail

type InstanceGroupDetail struct {

	// If specified, indicates that the instance group uses Spot Instances. This
	// is the maximum price you are willing to pay for Spot Instances. Specify OnDemandPrice
	// to set the amount equal to the On-Demand price, or specify an amount in USD.
	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 custom AMI ID to use for the provisioned instance group.
	CustomAmiId *string `type:"string"`

	// 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"`

	// Amazon EC2 instance type.
	//
	// InstanceType is a required field
	InstanceType *string `min:"1" type:"string" required:"true"`

	// Details regarding the state of the instance group.
	LastStateChangeReason *string `type:"string"`

	// Market type of the Amazon EC2 instances used to create a cluster node.
	//
	// Market is a required field
	Market *string `type:"string" required:"true" enum:"MarketType"`

	// Friendly name for the instance group.
	Name *string `type:"string"`

	// The date/time the instance group was available to the cluster.
	ReadyDateTime *time.Time `type:"timestamp"`

	// The date/time the instance group was started.
	StartDateTime *time.Time `type:"timestamp"`

	// State of instance group. The following values are no longer supported: STARTING,
	// TERMINATED, and FAILED.
	//
	// State is a required field
	State *string `type:"string" required:"true" enum:"InstanceGroupState"`
	// contains filtered or unexported fields
}

Detailed information about an instance group.

func (InstanceGroupDetail) GoString added in v0.6.5

func (s InstanceGroupDetail) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*InstanceGroupDetail) SetBidPrice added in v1.5.0

func (s *InstanceGroupDetail) SetBidPrice(v string) *InstanceGroupDetail

SetBidPrice sets the BidPrice field's value.

func (*InstanceGroupDetail) SetCreationDateTime added in v1.5.0

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

SetCreationDateTime sets the CreationDateTime field's value.

func (*InstanceGroupDetail) SetCustomAmiId added in v1.40.22

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

SetCustomAmiId sets the CustomAmiId field's value.

func (*InstanceGroupDetail) SetEndDateTime added in v1.5.0

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

SetEndDateTime sets the EndDateTime field's value.

func (*InstanceGroupDetail) SetInstanceGroupId added in v1.5.0

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

SetInstanceGroupId sets the InstanceGroupId field's value.

func (*InstanceGroupDetail) SetInstanceRequestCount added in v1.5.0

func (s *InstanceGroupDetail) SetInstanceRequestCount(v int64) *InstanceGroupDetail

SetInstanceRequestCount sets the InstanceRequestCount field's value.

func (*InstanceGroupDetail) SetInstanceRole added in v1.5.0

func (s *InstanceGroupDetail) SetInstanceRole(v string) *InstanceGroupDetail

SetInstanceRole sets the InstanceRole field's value.

func (*InstanceGroupDetail) SetInstanceRunningCount added in v1.5.0

func (s *InstanceGroupDetail) SetInstanceRunningCount(v int64) *InstanceGroupDetail

SetInstanceRunningCount sets the InstanceRunningCount field's value.

func (*InstanceGroupDetail) SetInstanceType added in v1.5.0

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

SetInstanceType sets the InstanceType field's value.

func (*InstanceGroupDetail) SetLastStateChangeReason added in v1.5.0

func (s *InstanceGroupDetail) SetLastStateChangeReason(v string) *InstanceGroupDetail

SetLastStateChangeReason sets the LastStateChangeReason field's value.

func (*InstanceGroupDetail) SetMarket added in v1.5.0

SetMarket sets the Market field's value.

func (*InstanceGroupDetail) SetName added in v1.5.0

SetName sets the Name field's value.

func (*InstanceGroupDetail) SetReadyDateTime added in v1.5.0

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

SetReadyDateTime sets the ReadyDateTime field's value.

func (*InstanceGroupDetail) SetStartDateTime added in v1.5.0

func (s *InstanceGroupDetail) SetStartDateTime(v time.Time) *InstanceGroupDetail

SetStartDateTime sets the StartDateTime field's value.

func (*InstanceGroupDetail) SetState added in v1.5.0

SetState sets the State field's value.

func (InstanceGroupDetail) String added in v0.6.5

func (s InstanceGroupDetail) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type InstanceGroupModifyConfig

type InstanceGroupModifyConfig struct {

	// A list of new or modified configurations to apply for an instance group.
	Configurations []*Configuration `type:"list"`

	// The Amazon 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 modify.
	//
	// InstanceGroupId is a required field
	InstanceGroupId *string `type:"string" required:"true"`

	// Type of reconfiguration requested. Valid values are MERGE and OVERWRITE.
	ReconfigurationType *string `type:"string" enum:"ReconfigurationType"`

	// 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 added in v0.6.5

func (s InstanceGroupModifyConfig) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*InstanceGroupModifyConfig) SetConfigurations added in v1.19.7

SetConfigurations sets the Configurations field's value.

func (*InstanceGroupModifyConfig) SetEC2InstanceIdsToTerminate added in v1.5.0

func (s *InstanceGroupModifyConfig) SetEC2InstanceIdsToTerminate(v []*string) *InstanceGroupModifyConfig

SetEC2InstanceIdsToTerminate sets the EC2InstanceIdsToTerminate field's value.

func (*InstanceGroupModifyConfig) SetInstanceCount added in v1.5.0

SetInstanceCount sets the InstanceCount field's value.

func (*InstanceGroupModifyConfig) SetInstanceGroupId added in v1.5.0

SetInstanceGroupId sets the InstanceGroupId field's value.

func (*InstanceGroupModifyConfig) SetReconfigurationType added in v1.44.11

func (s *InstanceGroupModifyConfig) SetReconfigurationType(v string) *InstanceGroupModifyConfig

SetReconfigurationType sets the ReconfigurationType field's value.

func (*InstanceGroupModifyConfig) SetShrinkPolicy added in v1.5.0

SetShrinkPolicy sets the ShrinkPolicy field's value.

func (InstanceGroupModifyConfig) String added in v0.6.5

func (s InstanceGroupModifyConfig) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*InstanceGroupModifyConfig) Validate added in v1.1.21

func (s *InstanceGroupModifyConfig) Validate() error

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

type InstanceGroupStateChangeReason

type InstanceGroupStateChangeReason struct {

	// The programmable code for the state change reason.
	Code *string `type:"string" enum:"InstanceGroupStateChangeReasonCode"`

	// The status change reason description.
	Message *string `type:"string"`
	// contains filtered or unexported fields
}

The status change reason details for the instance group.

func (InstanceGroupStateChangeReason) GoString added in v0.6.5

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*InstanceGroupStateChangeReason) SetCode added in v1.5.0

SetCode sets the Code field's value.

func (*InstanceGroupStateChangeReason) SetMessage added in v1.5.0

SetMessage sets the Message field's value.

func (InstanceGroupStateChangeReason) String added in v0.6.5

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type InstanceGroupStatus

type InstanceGroupStatus struct {

	// The current state of the instance group.
	State *string `type:"string" enum:"InstanceGroupState"`

	// The status change reason details for the instance group.
	StateChangeReason *InstanceGroupStateChangeReason `type:"structure"`

	// The timeline of the instance group status over time.
	Timeline *InstanceGroupTimeline `type:"structure"`
	// contains filtered or unexported fields
}

The details of the instance group status.

func (InstanceGroupStatus) GoString added in v0.6.5

func (s InstanceGroupStatus) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*InstanceGroupStatus) SetState added in v1.5.0

SetState sets the State field's value.

func (*InstanceGroupStatus) SetStateChangeReason added in v1.5.0

SetStateChangeReason sets the StateChangeReason field's value.

func (*InstanceGroupStatus) SetTimeline added in v1.5.0

SetTimeline sets the Timeline field's value.

func (InstanceGroupStatus) String added in v0.6.5

func (s InstanceGroupStatus) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type InstanceGroupTimeline

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 added in v0.6.5

func (s InstanceGroupTimeline) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*InstanceGroupTimeline) SetCreationDateTime added in v1.5.0

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

SetCreationDateTime sets the CreationDateTime field's value.

func (*InstanceGroupTimeline) SetEndDateTime added in v1.5.0

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

SetEndDateTime sets the EndDateTime field's value.

func (*InstanceGroupTimeline) SetReadyDateTime added in v1.5.0

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

SetReadyDateTime sets the ReadyDateTime field's value.

func (InstanceGroupTimeline) String added in v0.6.5

func (s InstanceGroupTimeline) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type InstanceResizePolicy added in v1.1.20

type InstanceResizePolicy struct {

	// Decommissioning timeout override for the specific list of instances to be
	// terminated.
	InstanceTerminationTimeout *int64 `type:"integer"`

	// Specific list of instances to be protected when shrinking an instance group.
	InstancesToProtect []*string `type:"list"`

	// Specific list of instances to be terminated when shrinking an instance group.
	InstancesToTerminate []*string `type:"list"`
	// contains filtered or unexported fields
}

Custom policy for requesting termination protection or termination of specific instances when shrinking an instance group.

func (InstanceResizePolicy) GoString added in v1.1.20

func (s InstanceResizePolicy) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*InstanceResizePolicy) SetInstanceTerminationTimeout added in v1.5.0

func (s *InstanceResizePolicy) SetInstanceTerminationTimeout(v int64) *InstanceResizePolicy

SetInstanceTerminationTimeout sets the InstanceTerminationTimeout field's value.

func (*InstanceResizePolicy) SetInstancesToProtect added in v1.5.0

func (s *InstanceResizePolicy) SetInstancesToProtect(v []*string) *InstanceResizePolicy

SetInstancesToProtect sets the InstancesToProtect field's value.

func (*InstanceResizePolicy) SetInstancesToTerminate added in v1.5.0

func (s *InstanceResizePolicy) SetInstancesToTerminate(v []*string) *InstanceResizePolicy

SetInstancesToTerminate sets the InstancesToTerminate field's value.

func (InstanceResizePolicy) String added in v1.1.20

func (s InstanceResizePolicy) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type InstanceStateChangeReason

type InstanceStateChangeReason struct {

	// The programmable code for the state change reason.
	Code *string `type:"string" enum:"InstanceStateChangeReasonCode"`

	// The status change reason description.
	Message *string `type:"string"`
	// contains filtered or unexported fields
}

The details of the status change reason for the instance.

func (InstanceStateChangeReason) GoString added in v0.6.5

func (s InstanceStateChangeReason) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*InstanceStateChangeReason) SetCode added in v1.5.0

SetCode sets the Code field's value.

func (*InstanceStateChangeReason) SetMessage added in v1.5.0

SetMessage sets the Message field's value.

func (InstanceStateChangeReason) String added in v0.6.5

func (s InstanceStateChangeReason) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type InstanceStatus

type InstanceStatus struct {

	// The current state of the instance.
	State *string `type:"string" enum:"InstanceState"`

	// The details of the status change reason for the instance.
	StateChangeReason *InstanceStateChangeReason `type:"structure"`

	// The timeline of the instance status over time.
	Timeline *InstanceTimeline `type:"structure"`
	// contains filtered or unexported fields
}

The instance status details.

func (InstanceStatus) GoString added in v0.6.5

func (s InstanceStatus) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*InstanceStatus) SetState added in v1.5.0

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

SetState sets the State field's value.

func (*InstanceStatus) SetStateChangeReason added in v1.5.0

func (s *InstanceStatus) SetStateChangeReason(v *InstanceStateChangeReason) *InstanceStatus

SetStateChangeReason sets the StateChangeReason field's value.

func (*InstanceStatus) SetTimeline added in v1.5.0

func (s *InstanceStatus) SetTimeline(v *InstanceTimeline) *InstanceStatus

SetTimeline sets the Timeline field's value.

func (InstanceStatus) String added in v0.6.5

func (s InstanceStatus) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type InstanceTimeline

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 added in v0.6.5

func (s InstanceTimeline) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*InstanceTimeline) SetCreationDateTime added in v1.5.0

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

SetCreationDateTime sets the CreationDateTime field's value.

func (*InstanceTimeline) SetEndDateTime added in v1.5.0

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

SetEndDateTime sets the EndDateTime field's value.

func (*InstanceTimeline) SetReadyDateTime added in v1.5.0

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

SetReadyDateTime sets the ReadyDateTime field's value.

func (InstanceTimeline) String added in v0.6.5

func (s InstanceTimeline) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type InstanceTypeConfig added in v1.7.8

type InstanceTypeConfig struct {

	// The bid price for each Amazon 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 Amazon 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 custom AMI ID to use for the instance type.
	CustomAmiId *string `type:"string"`

	// The configuration of Amazon Elastic Block Store (Amazon EBS) attached to
	// each instance as defined by InstanceType.
	EbsConfiguration *EbsConfiguration `type:"structure"`

	// An Amazon 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 Amazon EC2 instances Amazon EMR attempts to provision to fulfill On-Demand and Spot target capacities. When you use an allocation strategy, you can include a maximum of 30 instance type configurations for a fleet. For more information about how to use an allocation strategy, see Configure Instance Fleets (https://docs.aws.amazon.com/emr/latest/ManagementGuide/emr-instance-fleet.html). Without an allocation strategy, you may specify a maximum of five instance type configurations for a fleet.

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

func (InstanceTypeConfig) GoString added in v1.7.8

func (s InstanceTypeConfig) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*InstanceTypeConfig) SetBidPrice added in v1.7.8

func (s *InstanceTypeConfig) SetBidPrice(v string) *InstanceTypeConfig

SetBidPrice sets the BidPrice field's value.

func (*InstanceTypeConfig) SetBidPriceAsPercentageOfOnDemandPrice added in v1.7.8

func (s *InstanceTypeConfig) SetBidPriceAsPercentageOfOnDemandPrice(v float64) *InstanceTypeConfig

SetBidPriceAsPercentageOfOnDemandPrice sets the BidPriceAsPercentageOfOnDemandPrice field's value.

func (*InstanceTypeConfig) SetConfigurations added in v1.7.8

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

SetConfigurations sets the Configurations field's value.

func (*InstanceTypeConfig) SetCustomAmiId added in v1.40.22

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

SetCustomAmiId sets the CustomAmiId field's value.

func (*InstanceTypeConfig) SetEbsConfiguration added in v1.7.8

func (s *InstanceTypeConfig) SetEbsConfiguration(v *EbsConfiguration) *InstanceTypeConfig

SetEbsConfiguration sets the EbsConfiguration field's value.

func (*InstanceTypeConfig) SetInstanceType added in v1.7.8

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

SetInstanceType sets the InstanceType field's value.

func (*InstanceTypeConfig) SetWeightedCapacity added in v1.7.8

func (s *InstanceTypeConfig) SetWeightedCapacity(v int64) *InstanceTypeConfig

SetWeightedCapacity sets the WeightedCapacity field's value.

func (InstanceTypeConfig) String added in v1.7.8

func (s InstanceTypeConfig) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*InstanceTypeConfig) Validate added in v1.7.8

func (s *InstanceTypeConfig) Validate() error

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

type InstanceTypeSpecification added in v1.7.8

type InstanceTypeSpecification struct {

	// The bid price for each Amazon 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 Amazon 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 custom AMI ID to use for the instance type.
	CustomAmiId *string `type:"string"`

	// The configuration of Amazon Elastic Block Store (Amazon 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 Amazon 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 releases 4.8.0 and later, excluding 5.0.x versions.

func (InstanceTypeSpecification) GoString added in v1.7.8

func (s InstanceTypeSpecification) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*InstanceTypeSpecification) SetBidPrice added in v1.7.8

SetBidPrice sets the BidPrice field's value.

func (*InstanceTypeSpecification) SetBidPriceAsPercentageOfOnDemandPrice added in v1.7.8

func (s *InstanceTypeSpecification) SetBidPriceAsPercentageOfOnDemandPrice(v float64) *InstanceTypeSpecification

SetBidPriceAsPercentageOfOnDemandPrice sets the BidPriceAsPercentageOfOnDemandPrice field's value.

func (*InstanceTypeSpecification) SetConfigurations added in v1.7.8

SetConfigurations sets the Configurations field's value.

func (*InstanceTypeSpecification) SetCustomAmiId added in v1.40.22

SetCustomAmiId sets the CustomAmiId field's value.

func (*InstanceTypeSpecification) SetEbsBlockDevices added in v1.7.8

SetEbsBlockDevices sets the EbsBlockDevices field's value.

func (*InstanceTypeSpecification) SetEbsOptimized added in v1.7.8

SetEbsOptimized sets the EbsOptimized field's value.

func (*InstanceTypeSpecification) SetInstanceType added in v1.7.8

SetInstanceType sets the InstanceType field's value.

func (*InstanceTypeSpecification) SetWeightedCapacity added in v1.7.8

func (s *InstanceTypeSpecification) SetWeightedCapacity(v int64) *InstanceTypeSpecification

SetWeightedCapacity sets the WeightedCapacity field's value.

func (InstanceTypeSpecification) String added in v1.7.8

func (s InstanceTypeSpecification) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type InternalServerError added in v1.28.0

type InternalServerError struct {
	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

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

Indicates that an error occurred while processing the request and that the request was not completed.

func (*InternalServerError) Code added in v1.28.0

func (s *InternalServerError) Code() string

Code returns the exception type name.

func (*InternalServerError) Error added in v1.28.0

func (s *InternalServerError) Error() string

func (InternalServerError) GoString added in v1.28.0

func (s InternalServerError) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*InternalServerError) Message added in v1.28.0

func (s *InternalServerError) Message() string

Message returns the exception's message.

func (*InternalServerError) OrigErr added in v1.28.0

func (s *InternalServerError) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*InternalServerError) RequestID added in v1.28.0

func (s *InternalServerError) RequestID() string

RequestID returns the service's response RequestID for request.

func (*InternalServerError) StatusCode added in v1.28.0

func (s *InternalServerError) StatusCode() int

Status code returns the HTTP status code for the request's response error.

func (InternalServerError) String added in v1.28.0

func (s InternalServerError) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type InternalServerException added in v1.28.0

type InternalServerException struct {
	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

	// The message associated with the exception.
	Message_ *string `locationName:"Message" type:"string"`
	// contains filtered or unexported fields
}

This exception occurs when there is an internal failure in the Amazon EMR service.

func (*InternalServerException) Code added in v1.28.0

func (s *InternalServerException) Code() string

Code returns the exception type name.

func (*InternalServerException) Error added in v1.28.0

func (s *InternalServerException) Error() string

func (InternalServerException) GoString added in v1.28.0

func (s InternalServerException) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*InternalServerException) Message added in v1.28.0

func (s *InternalServerException) Message() string

Message returns the exception's message.

func (*InternalServerException) OrigErr added in v1.28.0

func (s *InternalServerException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*InternalServerException) RequestID added in v1.28.0

func (s *InternalServerException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*InternalServerException) StatusCode added in v1.28.0

func (s *InternalServerException) StatusCode() int

Status code returns the HTTP status code for the request's response error.

func (InternalServerException) String added in v1.28.0

func (s InternalServerException) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type InvalidRequestException added in v1.28.0

type InvalidRequestException struct {
	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

	// The error code associated with the exception.
	ErrorCode *string `min:"1" type:"string"`

	// The message associated with the exception.
	Message_ *string `locationName:"Message" type:"string"`
	// contains filtered or unexported fields
}

This exception occurs when there is something wrong with user input.

func (*InvalidRequestException) Code added in v1.28.0

func (s *InvalidRequestException) Code() string

Code returns the exception type name.

func (*InvalidRequestException) Error added in v1.28.0

func (s *InvalidRequestException) Error() string

func (InvalidRequestException) GoString added in v1.28.0

func (s InvalidRequestException) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*InvalidRequestException) Message added in v1.28.0

func (s *InvalidRequestException) Message() string

Message returns the exception's message.

func (*InvalidRequestException) OrigErr added in v1.28.0

func (s *InvalidRequestException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*InvalidRequestException) RequestID added in v1.28.0

func (s *InvalidRequestException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*InvalidRequestException) StatusCode added in v1.28.0

func (s *InvalidRequestException) StatusCode() int

Status code returns the HTTP status code for the request's response error.

func (InvalidRequestException) String added in v1.28.0

func (s InvalidRequestException) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type JobFlowDetail

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 Amazon 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 Amazon
	// EC2 instances of the job flow assume this role.
	JobFlowRole *string `type:"string"`

	// The KMS key used for encrypting log files. This attribute is only available
	// with Amazon EMR 5.30.0 and later, excluding 6.0.0.
	LogEncryptionKmsKeyId *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 adds nodes to a deny list 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 releases 4.1.0 and later, and is the default
	// for releases of Amazon EMR earlier than 5.1.0.
	ScaleDownBehavior *string `type:"string" enum:"ScaleDownBehavior"`

	// The IAM role that is assumed by the Amazon EMR service to access Amazon Web
	// Services 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"`

	// Indicates whether the cluster is visible to IAM principals in the Amazon
	// Web Services account associated with the cluster. When true, IAM principals
	// in the Amazon Web Services account can perform Amazon EMR cluster actions
	// that their IAM policies allow. When false, only the IAM principal that created
	// the cluster and the Amazon Web Services account root user can perform Amazon
	// EMR actions, regardless of IAM permissions policies attached to other IAM
	// principals.
	//
	// The default value is true if a value is not provided when creating a cluster
	// using the Amazon EMR API RunJobFlow command, the CLI create-cluster (https://docs.aws.amazon.com/cli/latest/reference/emr/create-cluster.html)
	// command, or the Amazon Web Services Management Console.
	VisibleToAllUsers *bool `type:"boolean"`
	// contains filtered or unexported fields
}

A description of a cluster (job flow).

func (JobFlowDetail) GoString added in v0.6.5

func (s JobFlowDetail) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*JobFlowDetail) SetAmiVersion added in v1.5.0

func (s *JobFlowDetail) SetAmiVersion(v string) *JobFlowDetail

SetAmiVersion sets the AmiVersion field's value.

func (*JobFlowDetail) SetAutoScalingRole added in v1.5.8

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

SetAutoScalingRole sets the AutoScalingRole field's value.

func (*JobFlowDetail) SetBootstrapActions added in v1.5.0

func (s *JobFlowDetail) SetBootstrapActions(v []*BootstrapActionDetail) *JobFlowDetail

SetBootstrapActions sets the BootstrapActions field's value.

func (*JobFlowDetail) SetExecutionStatusDetail added in v1.5.0

func (s *JobFlowDetail) SetExecutionStatusDetail(v *JobFlowExecutionStatusDetail) *JobFlowDetail

SetExecutionStatusDetail sets the ExecutionStatusDetail field's value.

func (*JobFlowDetail) SetInstances added in v1.5.0

func (s *JobFlowDetail) SetInstances(v *JobFlowInstancesDetail) *JobFlowDetail

SetInstances sets the Instances field's value.

func (*JobFlowDetail) SetJobFlowId added in v1.5.0

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

SetJobFlowId sets the JobFlowId field's value.

func (*JobFlowDetail) SetJobFlowRole added in v1.5.0

func (s *JobFlowDetail) SetJobFlowRole(v string) *JobFlowDetail

SetJobFlowRole sets the JobFlowRole field's value.

func (*JobFlowDetail) SetLogEncryptionKmsKeyId added in v1.31.8

func (s *JobFlowDetail) SetLogEncryptionKmsKeyId(v string) *JobFlowDetail

SetLogEncryptionKmsKeyId sets the LogEncryptionKmsKeyId field's value.

func (*JobFlowDetail) SetLogUri added in v1.5.0

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

SetLogUri sets the LogUri field's value.

func (*JobFlowDetail) SetName added in v1.5.0

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

SetName sets the Name field's value.

func (*JobFlowDetail) SetScaleDownBehavior added in v1.5.8

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

SetScaleDownBehavior sets the ScaleDownBehavior field's value.

func (*JobFlowDetail) SetServiceRole added in v1.5.0

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

SetServiceRole sets the ServiceRole field's value.

func (*JobFlowDetail) SetSteps added in v1.5.0

func (s *JobFlowDetail) SetSteps(v []*StepDetail) *JobFlowDetail

SetSteps sets the Steps field's value.

func (*JobFlowDetail) SetSupportedProducts added in v1.5.0

func (s *JobFlowDetail) SetSupportedProducts(v []*string) *JobFlowDetail

SetSupportedProducts sets the SupportedProducts field's value.

func (*JobFlowDetail) SetVisibleToAllUsers added in v1.5.0

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

SetVisibleToAllUsers sets the VisibleToAllUsers field's value.

func (JobFlowDetail) String added in v0.6.5

func (s JobFlowDetail) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type JobFlowExecutionStatusDetail

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 added in v0.6.5

func (s JobFlowExecutionStatusDetail) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*JobFlowExecutionStatusDetail) SetCreationDateTime added in v1.5.0

SetCreationDateTime sets the CreationDateTime field's value.

func (*JobFlowExecutionStatusDetail) SetEndDateTime added in v1.5.0

SetEndDateTime sets the EndDateTime field's value.

func (*JobFlowExecutionStatusDetail) SetLastStateChangeReason added in v1.5.0

func (s *JobFlowExecutionStatusDetail) SetLastStateChangeReason(v string) *JobFlowExecutionStatusDetail

SetLastStateChangeReason sets the LastStateChangeReason field's value.

func (*JobFlowExecutionStatusDetail) SetReadyDateTime added in v1.5.0

SetReadyDateTime sets the ReadyDateTime field's value.

func (*JobFlowExecutionStatusDetail) SetStartDateTime added in v1.5.0

SetStartDateTime sets the StartDateTime field's value.

func (*JobFlowExecutionStatusDetail) SetState added in v1.5.0

SetState sets the State field's value.

func (JobFlowExecutionStatusDetail) String added in v0.6.5

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type JobFlowInstancesConfig

type JobFlowInstancesConfig struct {

	// A list of additional Amazon EC2 security group IDs for the master node.
	AdditionalMasterSecurityGroups []*string `type:"list"`

	// A list of additional Amazon EC2 security group IDs for the core and task
	// nodes.
	AdditionalSlaveSecurityGroups []*string `type:"list"`

	// The name of the Amazon EC2 key pair that can be used to connect to the master
	// node using SSH 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 and your account supports EC2-Classic,
	// the cluster launches in EC2-Classic.
	Ec2SubnetId *string `type:"string"`

	// Applies to clusters that use the instance fleet configuration. When multiple
	// Amazon 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 releases
	// 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. If you
	// specify EmrManagedMasterSecurityGroup, you must also specify EmrManagedSlaveSecurityGroup.
	EmrManagedMasterSecurityGroup *string `type:"string"`

	// The identifier of the Amazon EC2 security group for the core and task nodes.
	// If you specify EmrManagedSlaveSecurityGroup, you must also specify EmrManagedMasterSecurityGroup.
	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" (no longer maintained),
	// "0.20" (no longer maintained), "0.20.205" (no longer maintained), "1.0.3",
	// "2.2.0", or "2.4.0". If you do not set this value, the default of 0.18 is
	// used, unless the AmiVersion parameter is set in the RunJobFlow call, in which
	// case the default version of Hadoop for that AMI version is used.
	HadoopVersion *string `type:"string"`

	// The number of Amazon EC2 instances in the cluster.
	InstanceCount *int64 `type:"integer"`

	//
	// The instance fleet configuration is available only in Amazon EMR releases
	// 4.8.0 and later, excluding 5.0.x versions.
	//
	// Describes the Amazon 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. Defaults to false. For more information about configuring cluster
	// termination, see Control Cluster Termination (https://docs.aws.amazon.com/emr/latest/ManagementGuide/emr-plan-termination.html)
	// in the EMR Management Guide.
	KeepJobFlowAliveWhenNoSteps *bool `type:"boolean"`

	// The Amazon 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 Amazon 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"`

	// Indicates whether Amazon EMR should gracefully replace core nodes that have
	// degraded within the cluster.
	UnhealthyNodeReplacement *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. 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 added in v0.6.5

func (s JobFlowInstancesConfig) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*JobFlowInstancesConfig) SetAdditionalMasterSecurityGroups added in v1.5.0

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

SetAdditionalMasterSecurityGroups sets the AdditionalMasterSecurityGroups field's value.

func (*JobFlowInstancesConfig) SetAdditionalSlaveSecurityGroups added in v1.5.0

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

SetAdditionalSlaveSecurityGroups sets the AdditionalSlaveSecurityGroups field's value.

func (*JobFlowInstancesConfig) SetEc2KeyName added in v1.5.0

SetEc2KeyName sets the Ec2KeyName field's value.

func (*JobFlowInstancesConfig) SetEc2SubnetId added in v1.5.0

SetEc2SubnetId sets the Ec2SubnetId field's value.

func (*JobFlowInstancesConfig) SetEc2SubnetIds added in v1.7.8

func (s *JobFlowInstancesConfig) SetEc2SubnetIds(v []*string) *JobFlowInstancesConfig

SetEc2SubnetIds sets the Ec2SubnetIds field's value.

func (*JobFlowInstancesConfig) SetEmrManagedMasterSecurityGroup added in v1.5.0

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

SetEmrManagedMasterSecurityGroup sets the EmrManagedMasterSecurityGroup field's value.

func (*JobFlowInstancesConfig) SetEmrManagedSlaveSecurityGroup added in v1.5.0

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

SetEmrManagedSlaveSecurityGroup sets the EmrManagedSlaveSecurityGroup field's value.

func (*JobFlowInstancesConfig) SetHadoopVersion added in v1.5.0

func (s *JobFlowInstancesConfig) SetHadoopVersion(v string) *JobFlowInstancesConfig

SetHadoopVersion sets the HadoopVersion field's value.

func (*JobFlowInstancesConfig) SetInstanceCount added in v1.5.0

func (s *JobFlowInstancesConfig) SetInstanceCount(v int64) *JobFlowInstancesConfig

SetInstanceCount sets the InstanceCount field's value.

func (*JobFlowInstancesConfig) SetInstanceFleets added in v1.7.8

SetInstanceFleets sets the InstanceFleets field's value.

func (*JobFlowInstancesConfig) SetInstanceGroups added in v1.5.0

SetInstanceGroups sets the InstanceGroups field's value.

func (*JobFlowInstancesConfig) SetKeepJobFlowAliveWhenNoSteps added in v1.5.0

func (s *JobFlowInstancesConfig) SetKeepJobFlowAliveWhenNoSteps(v bool) *JobFlowInstancesConfig

SetKeepJobFlowAliveWhenNoSteps sets the KeepJobFlowAliveWhenNoSteps field's value.

func (*JobFlowInstancesConfig) SetMasterInstanceType added in v1.5.0

func (s *JobFlowInstancesConfig) SetMasterInstanceType(v string) *JobFlowInstancesConfig

SetMasterInstanceType sets the MasterInstanceType field's value.

func (*JobFlowInstancesConfig) SetPlacement added in v1.5.0

SetPlacement sets the Placement field's value.

func (*JobFlowInstancesConfig) SetServiceAccessSecurityGroup added in v1.5.0

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

SetServiceAccessSecurityGroup sets the ServiceAccessSecurityGroup field's value.

func (*JobFlowInstancesConfig) SetSlaveInstanceType added in v1.5.0

func (s *JobFlowInstancesConfig) SetSlaveInstanceType(v string) *JobFlowInstancesConfig

SetSlaveInstanceType sets the SlaveInstanceType field's value.

func (*JobFlowInstancesConfig) SetTerminationProtected added in v1.5.0

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

SetTerminationProtected sets the TerminationProtected field's value.

func (*JobFlowInstancesConfig) SetUnhealthyNodeReplacement added in v1.50.20

func (s *JobFlowInstancesConfig) SetUnhealthyNodeReplacement(v bool) *JobFlowInstancesConfig

SetUnhealthyNodeReplacement sets the UnhealthyNodeReplacement field's value.

func (JobFlowInstancesConfig) String added in v0.6.5

func (s JobFlowInstancesConfig) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*JobFlowInstancesConfig) Validate added in v1.1.21

func (s *JobFlowInstancesConfig) Validate() error

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

type JobFlowInstancesDetail

type JobFlowInstancesDetail struct {

	// The name of an Amazon EC2 key pair that can be used to connect to the master
	// node using SSH.
	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 increased one time for every hour that an m1.small instance
	// runs. Larger instances are weighted more heavily, so an Amazon EC2 instance
	// that is roughly four times more expensive would result in the normalized
	// instance hours being increased incrementally four times. 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"`

	// Indicates whether Amazon EMR should gracefully replace core nodes that have
	// degraded within the cluster.
	UnhealthyNodeReplacement *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 added in v0.6.5

func (s JobFlowInstancesDetail) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*JobFlowInstancesDetail) SetEc2KeyName added in v1.5.0

SetEc2KeyName sets the Ec2KeyName field's value.

func (*JobFlowInstancesDetail) SetEc2SubnetId added in v1.5.0

SetEc2SubnetId sets the Ec2SubnetId field's value.

func (*JobFlowInstancesDetail) SetHadoopVersion added in v1.5.0

func (s *JobFlowInstancesDetail) SetHadoopVersion(v string) *JobFlowInstancesDetail

SetHadoopVersion sets the HadoopVersion field's value.

func (*JobFlowInstancesDetail) SetInstanceCount added in v1.5.0

func (s *JobFlowInstancesDetail) SetInstanceCount(v int64) *JobFlowInstancesDetail

SetInstanceCount sets the InstanceCount field's value.

func (*JobFlowInstancesDetail) SetInstanceGroups added in v1.5.0

SetInstanceGroups sets the InstanceGroups field's value.

func (*JobFlowInstancesDetail) SetKeepJobFlowAliveWhenNoSteps added in v1.5.0

func (s *JobFlowInstancesDetail) SetKeepJobFlowAliveWhenNoSteps(v bool) *JobFlowInstancesDetail

SetKeepJobFlowAliveWhenNoSteps sets the KeepJobFlowAliveWhenNoSteps field's value.

func (*JobFlowInstancesDetail) SetMasterInstanceId added in v1.5.0

func (s *JobFlowInstancesDetail) SetMasterInstanceId(v string) *JobFlowInstancesDetail

SetMasterInstanceId sets the MasterInstanceId field's value.

func (*JobFlowInstancesDetail) SetMasterInstanceType added in v1.5.0

func (s *JobFlowInstancesDetail) SetMasterInstanceType(v string) *JobFlowInstancesDetail

SetMasterInstanceType sets the MasterInstanceType field's value.

func (*JobFlowInstancesDetail) SetMasterPublicDnsName added in v1.5.0

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

SetMasterPublicDnsName sets the MasterPublicDnsName field's value.

func (*JobFlowInstancesDetail) SetNormalizedInstanceHours added in v1.5.0

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

SetNormalizedInstanceHours sets the NormalizedInstanceHours field's value.

func (*JobFlowInstancesDetail) SetPlacement added in v1.5.0

SetPlacement sets the Placement field's value.

func (*JobFlowInstancesDetail) SetSlaveInstanceType added in v1.5.0

func (s *JobFlowInstancesDetail) SetSlaveInstanceType(v string) *JobFlowInstancesDetail

SetSlaveInstanceType sets the SlaveInstanceType field's value.

func (*JobFlowInstancesDetail) SetTerminationProtected added in v1.5.0

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

SetTerminationProtected sets the TerminationProtected field's value.

func (*JobFlowInstancesDetail) SetUnhealthyNodeReplacement added in v1.50.20

func (s *JobFlowInstancesDetail) SetUnhealthyNodeReplacement(v bool) *JobFlowInstancesDetail

SetUnhealthyNodeReplacement sets the UnhealthyNodeReplacement field's value.

func (JobFlowInstancesDetail) String added in v0.6.5

func (s JobFlowInstancesDetail) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type KerberosAttributes added in v1.12.32

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 Amazon EMR Management Guide.

func (KerberosAttributes) GoString added in v1.12.32

func (s KerberosAttributes) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*KerberosAttributes) SetADDomainJoinPassword added in v1.12.32

func (s *KerberosAttributes) SetADDomainJoinPassword(v string) *KerberosAttributes

SetADDomainJoinPassword sets the ADDomainJoinPassword field's value.

func (*KerberosAttributes) SetADDomainJoinUser added in v1.12.32

func (s *KerberosAttributes) SetADDomainJoinUser(v string) *KerberosAttributes

SetADDomainJoinUser sets the ADDomainJoinUser field's value.

func (*KerberosAttributes) SetCrossRealmTrustPrincipalPassword added in v1.12.32

func (s *KerberosAttributes) SetCrossRealmTrustPrincipalPassword(v string) *KerberosAttributes

SetCrossRealmTrustPrincipalPassword sets the CrossRealmTrustPrincipalPassword field's value.

func (*KerberosAttributes) SetKdcAdminPassword added in v1.12.32

func (s *KerberosAttributes) SetKdcAdminPassword(v string) *KerberosAttributes

SetKdcAdminPassword sets the KdcAdminPassword field's value.

func (*KerberosAttributes) SetRealm added in v1.12.32

SetRealm sets the Realm field's value.

func (KerberosAttributes) String added in v1.12.32

func (s KerberosAttributes) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*KerberosAttributes) Validate added in v1.12.32

func (s *KerberosAttributes) Validate() error

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

type KeyValue

type KeyValue struct {

	// The unique identifier of a key-value pair.
	Key *string `type:"string"`

	// The value part of the identified key.
	Value *string `type:"string"`
	// contains filtered or unexported fields
}

A key-value pair.

func (KeyValue) GoString added in v0.6.5

func (s KeyValue) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*KeyValue) SetKey added in v1.5.0

func (s *KeyValue) SetKey(v string) *KeyValue

SetKey sets the Key field's value.

func (*KeyValue) SetValue added in v1.5.0

func (s *KeyValue) SetValue(v string) *KeyValue

SetValue sets the Value field's value.

func (KeyValue) String added in v0.6.5

func (s KeyValue) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type ListBootstrapActionsInput

type ListBootstrapActionsInput struct {

	// The cluster identifier for the bootstrap actions to list.
	//
	// ClusterId is a required field
	ClusterId *string `type:"string" required:"true"`

	// The pagination token that indicates the next set of results to retrieve.
	Marker *string `type:"string"`
	// contains filtered or unexported fields
}

This input determines which bootstrap actions to retrieve.

func (ListBootstrapActionsInput) GoString added in v0.6.5

func (s ListBootstrapActionsInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ListBootstrapActionsInput) SetClusterId added in v1.5.0

SetClusterId sets the ClusterId field's value.

func (*ListBootstrapActionsInput) SetMarker added in v1.5.0

SetMarker sets the Marker field's value.

func (ListBootstrapActionsInput) String added in v0.6.5

func (s ListBootstrapActionsInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ListBootstrapActionsInput) Validate added in v1.1.21

func (s *ListBootstrapActionsInput) Validate() error

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

type ListBootstrapActionsOutput

type ListBootstrapActionsOutput struct {

	// The bootstrap actions associated with the cluster.
	BootstrapActions []*Command `type:"list"`

	// The pagination token that indicates the next set of results to retrieve.
	Marker *string `type:"string"`
	// contains filtered or unexported fields
}

This output contains the bootstrap actions detail.

func (ListBootstrapActionsOutput) GoString added in v0.6.5

func (s ListBootstrapActionsOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ListBootstrapActionsOutput) SetBootstrapActions added in v1.5.0

func (s *ListBootstrapActionsOutput) SetBootstrapActions(v []*Command) *ListBootstrapActionsOutput

SetBootstrapActions sets the BootstrapActions field's value.

func (*ListBootstrapActionsOutput) SetMarker added in v1.5.0

SetMarker sets the Marker field's value.

func (ListBootstrapActionsOutput) String added in v0.6.5

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type ListClustersInput

type ListClustersInput struct {

	// The cluster state filters to apply when listing clusters. Clusters that change
	// state while this action runs may be not be returned as expected in the list
	// of clusters.
	ClusterStates []*string `type:"list" enum:"ClusterState"`

	// 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 added in v0.6.5

func (s ListClustersInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ListClustersInput) SetClusterStates added in v1.5.0

func (s *ListClustersInput) SetClusterStates(v []*string) *ListClustersInput

SetClusterStates sets the ClusterStates field's value.

func (*ListClustersInput) SetCreatedAfter added in v1.5.0

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

SetCreatedAfter sets the CreatedAfter field's value.

func (*ListClustersInput) SetCreatedBefore added in v1.5.0

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

SetCreatedBefore sets the CreatedBefore field's value.

func (*ListClustersInput) SetMarker added in v1.5.0

func (s *ListClustersInput) SetMarker(v string) *ListClustersInput

SetMarker sets the Marker field's value.

func (ListClustersInput) String added in v0.6.5

func (s ListClustersInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type ListClustersOutput

type ListClustersOutput struct {

	// The list of clusters for the account based on the given filters.
	Clusters []*ClusterSummary `type:"list"`

	// The pagination token that indicates the next set of results to retrieve.
	Marker *string `type:"string"`
	// contains filtered or unexported fields
}

This contains a ClusterSummaryList with the cluster details; for example, the cluster IDs, names, and status.

func (ListClustersOutput) GoString added in v0.6.5

func (s ListClustersOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ListClustersOutput) SetClusters added in v1.5.0

SetClusters sets the Clusters field's value.

func (*ListClustersOutput) SetMarker added in v1.5.0

func (s *ListClustersOutput) SetMarker(v string) *ListClustersOutput

SetMarker sets the Marker field's value.

func (ListClustersOutput) String added in v0.6.5

func (s ListClustersOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type ListInstanceFleetsInput added in v1.7.8

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 added in v1.7.8

func (s ListInstanceFleetsInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ListInstanceFleetsInput) SetClusterId added in v1.7.8

SetClusterId sets the ClusterId field's value.

func (*ListInstanceFleetsInput) SetMarker added in v1.7.8

SetMarker sets the Marker field's value.

func (ListInstanceFleetsInput) String added in v1.7.8

func (s ListInstanceFleetsInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ListInstanceFleetsInput) Validate added in v1.7.8

func (s *ListInstanceFleetsInput) Validate() error

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

type ListInstanceFleetsOutput added in v1.7.8

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 added in v1.7.8

func (s ListInstanceFleetsOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ListInstanceFleetsOutput) SetInstanceFleets added in v1.7.8

SetInstanceFleets sets the InstanceFleets field's value.

func (*ListInstanceFleetsOutput) SetMarker added in v1.7.8

SetMarker sets the Marker field's value.

func (ListInstanceFleetsOutput) String added in v1.7.8

func (s ListInstanceFleetsOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type ListInstanceGroupsInput

type ListInstanceGroupsInput struct {

	// The identifier of the cluster for which to list the instance groups.
	//
	// ClusterId is a required field
	ClusterId *string `type:"string" required:"true"`

	// The pagination token that indicates the next set of results to retrieve.
	Marker *string `type:"string"`
	// contains filtered or unexported fields
}

This input determines which instance groups to retrieve.

func (ListInstanceGroupsInput) GoString added in v0.6.5

func (s ListInstanceGroupsInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ListInstanceGroupsInput) SetClusterId added in v1.5.0

SetClusterId sets the ClusterId field's value.

func (*ListInstanceGroupsInput) SetMarker added in v1.5.0

SetMarker sets the Marker field's value.

func (ListInstanceGroupsInput) String added in v0.6.5

func (s ListInstanceGroupsInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ListInstanceGroupsInput) Validate added in v1.1.21

func (s *ListInstanceGroupsInput) Validate() error

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

type ListInstanceGroupsOutput

type ListInstanceGroupsOutput struct {

	// The list of instance groups for the cluster and given filters.
	InstanceGroups []*InstanceGroup `type:"list"`

	// The pagination token that indicates the next set of results to retrieve.
	Marker *string `type:"string"`
	// contains filtered or unexported fields
}

This input determines which instance groups to retrieve.

func (ListInstanceGroupsOutput) GoString added in v0.6.5

func (s ListInstanceGroupsOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ListInstanceGroupsOutput) SetInstanceGroups added in v1.5.0

SetInstanceGroups sets the InstanceGroups field's value.

func (*ListInstanceGroupsOutput) SetMarker added in v1.5.0

SetMarker sets the Marker field's value.

func (ListInstanceGroupsOutput) String added in v0.6.5

func (s ListInstanceGroupsOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type ListInstancesInput

type ListInstancesInput struct {

	// The identifier of the cluster for which to list the instances.
	//
	// ClusterId is a required field
	ClusterId *string `type:"string" required:"true"`

	// The 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" enum:"InstanceGroupType"`

	// A list of instance states that will filter the instances returned with this
	// request.
	InstanceStates []*string `type:"list" enum:"InstanceState"`

	// The pagination token that indicates the next set of results to retrieve.
	Marker *string `type:"string"`
	// contains filtered or unexported fields
}

This input determines which instances to list.

func (ListInstancesInput) GoString added in v0.6.5

func (s ListInstancesInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ListInstancesInput) SetClusterId added in v1.5.0

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

SetClusterId sets the ClusterId field's value.

func (*ListInstancesInput) SetInstanceFleetId added in v1.7.8

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

SetInstanceFleetId sets the InstanceFleetId field's value.

func (*ListInstancesInput) SetInstanceFleetType added in v1.7.8

func (s *ListInstancesInput) SetInstanceFleetType(v string) *ListInstancesInput

SetInstanceFleetType sets the InstanceFleetType field's value.

func (*ListInstancesInput) SetInstanceGroupId added in v1.5.0

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

SetInstanceGroupId sets the InstanceGroupId field's value.

func (*ListInstancesInput) SetInstanceGroupTypes added in v1.5.0

func (s *ListInstancesInput) SetInstanceGroupTypes(v []*string) *ListInstancesInput

SetInstanceGroupTypes sets the InstanceGroupTypes field's value.

func (*ListInstancesInput) SetInstanceStates added in v1.5.0

func (s *ListInstancesInput) SetInstanceStates(v []*string) *ListInstancesInput

SetInstanceStates sets the InstanceStates field's value.

func (*ListInstancesInput) SetMarker added in v1.5.0

func (s *ListInstancesInput) SetMarker(v string) *ListInstancesInput

SetMarker sets the Marker field's value.

func (ListInstancesInput) String added in v0.6.5

func (s ListInstancesInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ListInstancesInput) Validate added in v1.1.21

func (s *ListInstancesInput) Validate() error

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

type ListInstancesOutput

type ListInstancesOutput struct {

	// The list of instances for the cluster and given filters.
	Instances []*Instance `type:"list"`

	// The pagination token that indicates the next set of results to retrieve.
	Marker *string `type:"string"`
	// contains filtered or unexported fields
}

This output contains the list of instances.

func (ListInstancesOutput) GoString added in v0.6.5

func (s ListInstancesOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ListInstancesOutput) SetInstances added in v1.5.0

func (s *ListInstancesOutput) SetInstances(v []*Instance) *ListInstancesOutput

SetInstances sets the Instances field's value.

func (*ListInstancesOutput) SetMarker added in v1.5.0

SetMarker sets the Marker field's value.

func (ListInstancesOutput) String added in v0.6.5

func (s ListInstancesOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type ListNotebookExecutionsInput added in v1.34.13

type ListNotebookExecutionsInput struct {

	// The unique ID of the editor associated with the notebook execution.
	EditorId *string `type:"string"`

	// The unique ID of the execution engine.
	ExecutionEngineId *string `type:"string"`

	// The beginning of time range filter for listing notebook executions. The default
	// is the timestamp of 30 days ago.
	From *time.Time `type:"timestamp"`

	// The pagination token, returned by a previous ListNotebookExecutions call,
	// that indicates the start of the list for this ListNotebookExecutions call.
	Marker *string `type:"string"`

	// The status filter for listing notebook executions.
	//
	//    * START_PENDING indicates that the cluster has received the execution
	//    request but execution has not begun.
	//
	//    * STARTING indicates that the execution is starting on the cluster.
	//
	//    * RUNNING indicates that the execution is being processed by the cluster.
	//
	//    * FINISHING indicates that execution processing is in the final stages.
	//
	//    * FINISHED indicates that the execution has completed without error.
	//
	//    * FAILING indicates that the execution is failing and will not finish
	//    successfully.
	//
	//    * FAILED indicates that the execution failed.
	//
	//    * STOP_PENDING indicates that the cluster has received a StopNotebookExecution
	//    request and the stop is pending.
	//
	//    * STOPPING indicates that the cluster is in the process of stopping the
	//    execution as a result of a StopNotebookExecution request.
	//
	//    * STOPPED indicates that the execution stopped because of a StopNotebookExecution
	//    request.
	Status *string `type:"string" enum:"NotebookExecutionStatus"`

	// The end of time range filter for listing notebook executions. The default
	// is the current timestamp.
	To *time.Time `type:"timestamp"`
	// contains filtered or unexported fields
}

func (ListNotebookExecutionsInput) GoString added in v1.34.13

func (s ListNotebookExecutionsInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ListNotebookExecutionsInput) SetEditorId added in v1.34.13

SetEditorId sets the EditorId field's value.

func (*ListNotebookExecutionsInput) SetExecutionEngineId added in v1.44.261

SetExecutionEngineId sets the ExecutionEngineId field's value.

func (*ListNotebookExecutionsInput) SetFrom added in v1.34.13

SetFrom sets the From field's value.

func (*ListNotebookExecutionsInput) SetMarker added in v1.34.13

SetMarker sets the Marker field's value.

func (*ListNotebookExecutionsInput) SetStatus added in v1.34.13

SetStatus sets the Status field's value.

func (*ListNotebookExecutionsInput) SetTo added in v1.34.13

SetTo sets the To field's value.

func (ListNotebookExecutionsInput) String added in v1.34.13

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type ListNotebookExecutionsOutput added in v1.34.13

type ListNotebookExecutionsOutput struct {

	// A pagination token that a subsequent ListNotebookExecutions can use to determine
	// the next set of results to retrieve.
	Marker *string `type:"string"`

	// A list of notebook executions.
	NotebookExecutions []*NotebookExecutionSummary `type:"list"`
	// contains filtered or unexported fields
}

func (ListNotebookExecutionsOutput) GoString added in v1.34.13

func (s ListNotebookExecutionsOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ListNotebookExecutionsOutput) SetMarker added in v1.34.13

SetMarker sets the Marker field's value.

func (*ListNotebookExecutionsOutput) SetNotebookExecutions added in v1.34.13

SetNotebookExecutions sets the NotebookExecutions field's value.

func (ListNotebookExecutionsOutput) String added in v1.34.13

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type ListReleaseLabelsInput added in v1.40.5

type ListReleaseLabelsInput struct {

	// Filters the results of the request. Prefix specifies the prefix of release
	// labels to return. Application specifies the application (with/without version)
	// of release labels to return.
	Filters *ReleaseLabelFilter `type:"structure"`

	// Defines the maximum number of release labels to return in a single response.
	// The default is 100.
	MaxResults *int64 `min:"1" type:"integer"`

	// Specifies the next page of results. If NextToken is not specified, which
	// is usually the case for the first request of ListReleaseLabels, the first
	// page of results are determined by other filtering parameters or by the latest
	// version. The ListReleaseLabels request fails if the identity (Amazon Web
	// Services account ID) and all filtering parameters are different from the
	// original request, or if the NextToken is expired or tampered with.
	NextToken *string `type:"string"`
	// contains filtered or unexported fields
}

func (ListReleaseLabelsInput) GoString added in v1.40.5

func (s ListReleaseLabelsInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ListReleaseLabelsInput) SetFilters added in v1.40.5

SetFilters sets the Filters field's value.

func (*ListReleaseLabelsInput) SetMaxResults added in v1.40.5

SetMaxResults sets the MaxResults field's value.

func (*ListReleaseLabelsInput) SetNextToken added in v1.40.5

SetNextToken sets the NextToken field's value.

func (ListReleaseLabelsInput) String added in v1.40.5

func (s ListReleaseLabelsInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ListReleaseLabelsInput) Validate added in v1.40.5

func (s *ListReleaseLabelsInput) Validate() error

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

type ListReleaseLabelsOutput added in v1.40.5

type ListReleaseLabelsOutput struct {

	// Used to paginate the next page of results if specified in the next ListReleaseLabels
	// request.
	NextToken *string `type:"string"`

	// The returned release labels.
	ReleaseLabels []*string `type:"list"`
	// contains filtered or unexported fields
}

func (ListReleaseLabelsOutput) GoString added in v1.40.5

func (s ListReleaseLabelsOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ListReleaseLabelsOutput) SetNextToken added in v1.40.5

SetNextToken sets the NextToken field's value.

func (*ListReleaseLabelsOutput) SetReleaseLabels added in v1.40.5

func (s *ListReleaseLabelsOutput) SetReleaseLabels(v []*string) *ListReleaseLabelsOutput

SetReleaseLabels sets the ReleaseLabels field's value.

func (ListReleaseLabelsOutput) String added in v1.40.5

func (s ListReleaseLabelsOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type ListSecurityConfigurationsInput added in v1.4.11

type ListSecurityConfigurationsInput struct {

	// The pagination token that indicates the set of results to retrieve.
	Marker *string `type:"string"`
	// contains filtered or unexported fields
}

func (ListSecurityConfigurationsInput) GoString added in v1.4.11

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ListSecurityConfigurationsInput) SetMarker added in v1.5.0

SetMarker sets the Marker field's value.

func (ListSecurityConfigurationsInput) String added in v1.4.11

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type ListSecurityConfigurationsOutput added in v1.4.11

type ListSecurityConfigurationsOutput struct {

	// A pagination token that indicates the next set of results to retrieve. Include
	// the marker in the next ListSecurityConfiguration call to retrieve the next
	// page of results, if required.
	Marker *string `type:"string"`

	// The creation date and time, and name, of each security configuration.
	SecurityConfigurations []*SecurityConfigurationSummary `type:"list"`
	// contains filtered or unexported fields
}

func (ListSecurityConfigurationsOutput) GoString added in v1.4.11

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ListSecurityConfigurationsOutput) SetMarker added in v1.5.0

SetMarker sets the Marker field's value.

func (*ListSecurityConfigurationsOutput) SetSecurityConfigurations added in v1.5.0

SetSecurityConfigurations sets the SecurityConfigurations field's value.

func (ListSecurityConfigurationsOutput) String added in v1.4.11

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type ListStepsInput

type ListStepsInput struct {

	// The identifier of the cluster for which to list the steps.
	//
	// ClusterId is a required field
	ClusterId *string `type:"string" required:"true"`

	// The maximum number of steps that a single ListSteps action returns is 50.
	// To return a longer list of steps, use multiple ListSteps actions along with
	// the Marker parameter, which is a pagination token that indicates the next
	// set of results to retrieve.
	Marker *string `type:"string"`

	// The filter to limit the step list based on the identifier of the steps. You
	// can specify a maximum of ten Step IDs. The character constraint applies to
	// the overall length of the array.
	StepIds []*string `type:"list"`

	// The filter to limit the step list based on certain states.
	StepStates []*string `type:"list" enum:"StepState"`
	// contains filtered or unexported fields
}

This input determines which steps to list.

func (ListStepsInput) GoString added in v0.6.5

func (s ListStepsInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ListStepsInput) SetClusterId added in v1.5.0

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

SetClusterId sets the ClusterId field's value.

func (*ListStepsInput) SetMarker added in v1.5.0

func (s *ListStepsInput) SetMarker(v string) *ListStepsInput

SetMarker sets the Marker field's value.

func (*ListStepsInput) SetStepIds added in v1.5.0

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

SetStepIds sets the StepIds field's value.

func (*ListStepsInput) SetStepStates added in v1.5.0

func (s *ListStepsInput) SetStepStates(v []*string) *ListStepsInput

SetStepStates sets the StepStates field's value.

func (ListStepsInput) String added in v0.6.5

func (s ListStepsInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ListStepsInput) Validate added in v1.1.21

func (s *ListStepsInput) Validate() error

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

type ListStepsOutput

type ListStepsOutput struct {

	// The maximum number of steps that a single ListSteps action returns is 50.
	// To return a longer list of steps, use multiple ListSteps actions along with
	// the Marker parameter, which is a pagination token that indicates the next
	// set of results to retrieve.
	Marker *string `type:"string"`

	// The filtered list of steps for the cluster.
	Steps []*StepSummary `type:"list"`
	// contains filtered or unexported fields
}

This output contains the list of steps returned in reverse order. This means that the last step is the first element in the list.

func (ListStepsOutput) GoString added in v0.6.5

func (s ListStepsOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ListStepsOutput) SetMarker added in v1.5.0

func (s *ListStepsOutput) SetMarker(v string) *ListStepsOutput

SetMarker sets the Marker field's value.

func (*ListStepsOutput) SetSteps added in v1.5.0

func (s *ListStepsOutput) SetSteps(v []*StepSummary) *ListStepsOutput

SetSteps sets the Steps field's value.

func (ListStepsOutput) String added in v0.6.5

func (s ListStepsOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type ListStudioSessionMappingsInput added in v1.35.34

type ListStudioSessionMappingsInput struct {

	// Specifies whether to return session mappings for users or groups. If not
	// specified, the results include session mapping details for both users and
	// groups.
	IdentityType *string `type:"string" enum:"IdentityType"`

	// The pagination token that indicates the set of results to retrieve.
	Marker *string `type:"string"`

	// The ID of the Amazon EMR Studio.
	StudioId *string `type:"string"`
	// contains filtered or unexported fields
}

func (ListStudioSessionMappingsInput) GoString added in v1.35.34

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ListStudioSessionMappingsInput) SetIdentityType added in v1.35.34

SetIdentityType sets the IdentityType field's value.

func (*ListStudioSessionMappingsInput) SetMarker added in v1.35.34

SetMarker sets the Marker field's value.

func (*ListStudioSessionMappingsInput) SetStudioId added in v1.35.34

SetStudioId sets the StudioId field's value.

func (ListStudioSessionMappingsInput) String added in v1.35.34

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type ListStudioSessionMappingsOutput added in v1.35.34

type ListStudioSessionMappingsOutput struct {

	// The pagination token that indicates the next set of results to retrieve.
	Marker *string `type:"string"`

	// A list of session mapping summary objects. Each object includes session mapping
	// details such as creation time, identity type (user or group), and Amazon
	// EMR Studio ID.
	SessionMappings []*SessionMappingSummary `type:"list"`
	// contains filtered or unexported fields
}

func (ListStudioSessionMappingsOutput) GoString added in v1.35.34

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ListStudioSessionMappingsOutput) SetMarker added in v1.35.34

SetMarker sets the Marker field's value.

func (*ListStudioSessionMappingsOutput) SetSessionMappings added in v1.35.34

SetSessionMappings sets the SessionMappings field's value.

func (ListStudioSessionMappingsOutput) String added in v1.35.34

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type ListStudiosInput added in v1.35.34

type ListStudiosInput struct {

	// The pagination token that indicates the set of results to retrieve.
	Marker *string `type:"string"`
	// contains filtered or unexported fields
}

func (ListStudiosInput) GoString added in v1.35.34

func (s ListStudiosInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ListStudiosInput) SetMarker added in v1.35.34

func (s *ListStudiosInput) SetMarker(v string) *ListStudiosInput

SetMarker sets the Marker field's value.

func (ListStudiosInput) String added in v1.35.34

func (s ListStudiosInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type ListStudiosOutput added in v1.35.34

type ListStudiosOutput struct {

	// The pagination token that indicates the next set of results to retrieve.
	Marker *string `type:"string"`

	// The list of Studio summary objects.
	Studios []*StudioSummary `type:"list"`
	// contains filtered or unexported fields
}

func (ListStudiosOutput) GoString added in v1.35.34

func (s ListStudiosOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ListStudiosOutput) SetMarker added in v1.35.34

func (s *ListStudiosOutput) SetMarker(v string) *ListStudiosOutput

SetMarker sets the Marker field's value.

func (*ListStudiosOutput) SetStudios added in v1.35.34

func (s *ListStudiosOutput) SetStudios(v []*StudioSummary) *ListStudiosOutput

SetStudios sets the Studios field's value.

func (ListStudiosOutput) String added in v1.35.34

func (s ListStudiosOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type ListSupportedInstanceTypesInput added in v1.44.287

type ListSupportedInstanceTypesInput struct {

	// The pagination token that marks the next set of results to retrieve.
	Marker *string `type:"string"`

	// The Amazon EMR release label determines the versions of open-source application
	// packages (https://docs.aws.amazon.com/emr/latest/ReleaseGuide/emr-release-app-versions-6.x.html)
	// that Amazon EMR has installed on the cluster. Release labels are in the format
	// emr-x.x.x, where x.x.x is an Amazon EMR release number such as emr-6.10.0.
	// For more information about Amazon EMR releases and their included application
	// versions and features, see the Amazon EMR Release Guide (https://docs.aws.amazon.com/emr/latest/ReleaseGuide/emr-release-components.html) .
	//
	// ReleaseLabel is a required field
	ReleaseLabel *string `type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (ListSupportedInstanceTypesInput) GoString added in v1.44.287

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ListSupportedInstanceTypesInput) SetMarker added in v1.44.287

SetMarker sets the Marker field's value.

func (*ListSupportedInstanceTypesInput) SetReleaseLabel added in v1.44.287

SetReleaseLabel sets the ReleaseLabel field's value.

func (ListSupportedInstanceTypesInput) String added in v1.44.287

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ListSupportedInstanceTypesInput) Validate added in v1.44.287

func (s *ListSupportedInstanceTypesInput) Validate() error

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

type ListSupportedInstanceTypesOutput added in v1.44.287

type ListSupportedInstanceTypesOutput struct {

	// The pagination token that marks the next set of results to retrieve.
	Marker *string `type:"string"`

	// The list of instance types that the release specified in ListSupportedInstanceTypesInput$ReleaseLabel
	// supports, filtered by Amazon Web Services Region.
	SupportedInstanceTypes []*SupportedInstanceType `type:"list"`
	// contains filtered or unexported fields
}

func (ListSupportedInstanceTypesOutput) GoString added in v1.44.287

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ListSupportedInstanceTypesOutput) SetMarker added in v1.44.287

SetMarker sets the Marker field's value.

func (*ListSupportedInstanceTypesOutput) SetSupportedInstanceTypes added in v1.44.287

SetSupportedInstanceTypes sets the SupportedInstanceTypes field's value.

func (ListSupportedInstanceTypesOutput) String added in v1.44.287

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type ManagedScalingPolicy added in v1.30.11

type ManagedScalingPolicy struct {

	// The Amazon EC2 unit limits for a managed scaling policy. The managed scaling
	// activity of a cluster is not allowed to go above or below these limits. The
	// limit only applies to the core and task nodes. The master node cannot be
	// scaled after initial configuration.
	ComputeLimits *ComputeLimits `type:"structure"`
	// contains filtered or unexported fields
}

Managed scaling policy for an Amazon EMR cluster. The policy specifies the limits for resources that can be added or terminated from a cluster. The policy only applies to the core and task nodes. The master node cannot be scaled after initial configuration.

func (ManagedScalingPolicy) GoString added in v1.30.11

func (s ManagedScalingPolicy) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ManagedScalingPolicy) SetComputeLimits added in v1.30.11

func (s *ManagedScalingPolicy) SetComputeLimits(v *ComputeLimits) *ManagedScalingPolicy

SetComputeLimits sets the ComputeLimits field's value.

func (ManagedScalingPolicy) String added in v1.30.11

func (s ManagedScalingPolicy) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ManagedScalingPolicy) Validate added in v1.30.11

func (s *ManagedScalingPolicy) Validate() error

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

type MetricDimension added in v1.5.8

type MetricDimension struct {

	// The dimension name.
	Key *string `type:"string"`

	// The dimension value.
	Value *string `type:"string"`
	// contains filtered or unexported fields
}

A CloudWatch dimension, which is specified using a Key (known as a Name in CloudWatch), Value pair. By default, Amazon EMR uses one dimension whose Key is JobFlowID and Value is a variable representing the cluster ID, which is ${emr.clusterId}. This enables the rule to bootstrap when the cluster ID becomes available.

func (MetricDimension) GoString added in v1.5.8

func (s MetricDimension) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*MetricDimension) SetKey added in v1.5.8

func (s *MetricDimension) SetKey(v string) *MetricDimension

SetKey sets the Key field's value.

func (*MetricDimension) SetValue added in v1.5.8

func (s *MetricDimension) SetValue(v string) *MetricDimension

SetValue sets the Value field's value.

func (MetricDimension) String added in v1.5.8

func (s MetricDimension) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type ModifyClusterInput added in v1.25.41

type ModifyClusterInput struct {

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

	// The number of steps that can be executed concurrently. You can specify a
	// minimum of 1 step and a maximum of 256 steps. We recommend that you do not
	// change this parameter while steps are running or the ActionOnFailure setting
	// may not behave as expected. For more information see Step$ActionOnFailure.
	StepConcurrencyLevel *int64 `type:"integer"`
	// contains filtered or unexported fields
}

func (ModifyClusterInput) GoString added in v1.25.41

func (s ModifyClusterInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ModifyClusterInput) SetClusterId added in v1.25.41

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

SetClusterId sets the ClusterId field's value.

func (*ModifyClusterInput) SetStepConcurrencyLevel added in v1.25.41

func (s *ModifyClusterInput) SetStepConcurrencyLevel(v int64) *ModifyClusterInput

SetStepConcurrencyLevel sets the StepConcurrencyLevel field's value.

func (ModifyClusterInput) String added in v1.25.41

func (s ModifyClusterInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ModifyClusterInput) Validate added in v1.25.41

func (s *ModifyClusterInput) Validate() error

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

type ModifyClusterOutput added in v1.25.41

type ModifyClusterOutput struct {

	// The number of steps that can be executed concurrently.
	StepConcurrencyLevel *int64 `type:"integer"`
	// contains filtered or unexported fields
}

func (ModifyClusterOutput) GoString added in v1.25.41

func (s ModifyClusterOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ModifyClusterOutput) SetStepConcurrencyLevel added in v1.25.41

func (s *ModifyClusterOutput) SetStepConcurrencyLevel(v int64) *ModifyClusterOutput

SetStepConcurrencyLevel sets the StepConcurrencyLevel field's value.

func (ModifyClusterOutput) String added in v1.25.41

func (s ModifyClusterOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type ModifyInstanceFleetInput added in v1.7.8

type ModifyInstanceFleetInput struct {

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

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

func (ModifyInstanceFleetInput) GoString added in v1.7.8

func (s ModifyInstanceFleetInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ModifyInstanceFleetInput) SetClusterId added in v1.7.8

SetClusterId sets the ClusterId field's value.

func (*ModifyInstanceFleetInput) SetInstanceFleet added in v1.7.8

SetInstanceFleet sets the InstanceFleet field's value.

func (ModifyInstanceFleetInput) String added in v1.7.8

func (s ModifyInstanceFleetInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ModifyInstanceFleetInput) Validate added in v1.7.8

func (s *ModifyInstanceFleetInput) Validate() error

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

type ModifyInstanceFleetOutput added in v1.7.8

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

func (ModifyInstanceFleetOutput) GoString added in v1.7.8

func (s ModifyInstanceFleetOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (ModifyInstanceFleetOutput) String added in v1.7.8

func (s ModifyInstanceFleetOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type ModifyInstanceGroupsInput

type ModifyInstanceGroupsInput struct {

	// The ID of the cluster to which the instance group belongs.
	ClusterId *string `type:"string"`

	// Instance groups to change.
	InstanceGroups []*InstanceGroupModifyConfig `type:"list"`
	// contains filtered or unexported fields
}

Change the size of some instance groups.

func (ModifyInstanceGroupsInput) GoString added in v0.6.5

func (s ModifyInstanceGroupsInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ModifyInstanceGroupsInput) SetClusterId added in v1.5.8

SetClusterId sets the ClusterId field's value.

func (*ModifyInstanceGroupsInput) SetInstanceGroups added in v1.5.0

SetInstanceGroups sets the InstanceGroups field's value.

func (ModifyInstanceGroupsInput) String added in v0.6.5

func (s ModifyInstanceGroupsInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ModifyInstanceGroupsInput) Validate added in v1.1.21

func (s *ModifyInstanceGroupsInput) Validate() error

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

type ModifyInstanceGroupsOutput

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

func (ModifyInstanceGroupsOutput) GoString added in v0.6.5

func (s ModifyInstanceGroupsOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (ModifyInstanceGroupsOutput) String added in v0.6.5

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type NotebookExecution added in v1.34.13

type NotebookExecution struct {

	// The Amazon Resource Name (ARN) of the notebook execution.
	Arn *string `type:"string"`

	// The unique identifier of the Amazon EMR Notebook that is used for the notebook
	// execution.
	EditorId *string `type:"string"`

	// The timestamp when notebook execution ended.
	EndTime *time.Time `type:"timestamp"`

	// The environment variables associated with the notebook execution.
	EnvironmentVariables map[string]*string `type:"map"`

	// The execution engine, such as an Amazon EMR cluster, used to run the Amazon
	// EMR notebook and perform the notebook execution.
	ExecutionEngine *ExecutionEngineConfig `type:"structure"`

	// The reason for the latest status change of the notebook execution.
	LastStateChangeReason *string `type:"string"`

	// The unique identifier of a notebook execution.
	NotebookExecutionId *string `type:"string"`

	// A name for the notebook execution.
	NotebookExecutionName *string `type:"string"`

	// The unique identifier of the Amazon EC2 security group associated with the
	// Amazon EMR Notebook instance. For more information see Specifying Amazon
	// EC2 Security Groups for Amazon EMR Notebooks (https://docs.aws.amazon.com/emr/latest/ManagementGuide/emr-managed-notebooks-security-groups.html)
	// in the Amazon EMR Management Guide.
	NotebookInstanceSecurityGroupId *string `type:"string"`

	// Input parameters in JSON format passed to the Amazon EMR Notebook at runtime
	// for execution.
	NotebookParams *string `type:"string"`

	// The Amazon S3 location that stores the notebook execution input.
	NotebookS3Location *NotebookS3LocationForOutput_ `type:"structure"`

	// The output format for the notebook execution.
	OutputNotebookFormat *string `type:"string" enum:"OutputNotebookFormat"`

	// The Amazon S3 location for the notebook execution output.
	OutputNotebookS3Location *OutputNotebookS3LocationForOutput_ `type:"structure"`

	// The location of the notebook execution's output file in Amazon S3.
	OutputNotebookURI *string `type:"string"`

	// The timestamp when notebook execution started.
	StartTime *time.Time `type:"timestamp"`

	// The status of the notebook execution.
	//
	//    * START_PENDING indicates that the cluster has received the execution
	//    request but execution has not begun.
	//
	//    * STARTING indicates that the execution is starting on the cluster.
	//
	//    * RUNNING indicates that the execution is being processed by the cluster.
	//
	//    * FINISHING indicates that execution processing is in the final stages.
	//
	//    * FINISHED indicates that the execution has completed without error.
	//
	//    * FAILING indicates that the execution is failing and will not finish
	//    successfully.
	//
	//    * FAILED indicates that the execution failed.
	//
	//    * STOP_PENDING indicates that the cluster has received a StopNotebookExecution
	//    request and the stop is pending.
	//
	//    * STOPPING indicates that the cluster is in the process of stopping the
	//    execution as a result of a StopNotebookExecution request.
	//
	//    * STOPPED indicates that the execution stopped because of a StopNotebookExecution
	//    request.
	Status *string `type:"string" enum:"NotebookExecutionStatus"`

	// A list of tags associated with a notebook execution. 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 []*Tag `type:"list"`
	// contains filtered or unexported fields
}

A notebook execution. An execution is a specific instance that an Amazon EMR Notebook is run using the StartNotebookExecution action.

func (NotebookExecution) GoString added in v1.34.13

func (s NotebookExecution) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*NotebookExecution) SetArn added in v1.34.13

SetArn sets the Arn field's value.

func (*NotebookExecution) SetEditorId added in v1.34.13

func (s *NotebookExecution) SetEditorId(v string) *NotebookExecution

SetEditorId sets the EditorId field's value.

func (*NotebookExecution) SetEndTime added in v1.34.13

func (s *NotebookExecution) SetEndTime(v time.Time) *NotebookExecution

SetEndTime sets the EndTime field's value.

func (*NotebookExecution) SetEnvironmentVariables added in v1.44.261

func (s *NotebookExecution) SetEnvironmentVariables(v map[string]*string) *NotebookExecution

SetEnvironmentVariables sets the EnvironmentVariables field's value.

func (*NotebookExecution) SetExecutionEngine added in v1.34.13

func (s *NotebookExecution) SetExecutionEngine(v *ExecutionEngineConfig) *NotebookExecution

SetExecutionEngine sets the ExecutionEngine field's value.

func (*NotebookExecution) SetLastStateChangeReason added in v1.34.13

func (s *NotebookExecution) SetLastStateChangeReason(v string) *NotebookExecution

SetLastStateChangeReason sets the LastStateChangeReason field's value.

func (*NotebookExecution) SetNotebookExecutionId added in v1.34.13

func (s *NotebookExecution) SetNotebookExecutionId(v string) *NotebookExecution

SetNotebookExecutionId sets the NotebookExecutionId field's value.

func (*NotebookExecution) SetNotebookExecutionName added in v1.34.13

func (s *NotebookExecution) SetNotebookExecutionName(v string) *NotebookExecution

SetNotebookExecutionName sets the NotebookExecutionName field's value.

func (*NotebookExecution) SetNotebookInstanceSecurityGroupId added in v1.34.13

func (s *NotebookExecution) SetNotebookInstanceSecurityGroupId(v string) *NotebookExecution

SetNotebookInstanceSecurityGroupId sets the NotebookInstanceSecurityGroupId field's value.

func (*NotebookExecution) SetNotebookParams added in v1.34.13

func (s *NotebookExecution) SetNotebookParams(v string) *NotebookExecution

SetNotebookParams sets the NotebookParams field's value.

func (*NotebookExecution) SetNotebookS3Location added in v1.44.261

SetNotebookS3Location sets the NotebookS3Location field's value.

func (*NotebookExecution) SetOutputNotebookFormat added in v1.44.261

func (s *NotebookExecution) SetOutputNotebookFormat(v string) *NotebookExecution

SetOutputNotebookFormat sets the OutputNotebookFormat field's value.

func (*NotebookExecution) SetOutputNotebookS3Location added in v1.44.261

func (s *NotebookExecution) SetOutputNotebookS3Location(v *OutputNotebookS3LocationForOutput_) *NotebookExecution

SetOutputNotebookS3Location sets the OutputNotebookS3Location field's value.

func (*NotebookExecution) SetOutputNotebookURI added in v1.34.13

func (s *NotebookExecution) SetOutputNotebookURI(v string) *NotebookExecution

SetOutputNotebookURI sets the OutputNotebookURI field's value.

func (*NotebookExecution) SetStartTime added in v1.34.13

func (s *NotebookExecution) SetStartTime(v time.Time) *NotebookExecution

SetStartTime sets the StartTime field's value.

func (*NotebookExecution) SetStatus added in v1.34.13

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

SetStatus sets the Status field's value.

func (*NotebookExecution) SetTags added in v1.34.13

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

SetTags sets the Tags field's value.

func (NotebookExecution) String added in v1.34.13

func (s NotebookExecution) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type NotebookExecutionSummary added in v1.34.13

type NotebookExecutionSummary struct {

	// The unique identifier of the editor associated with the notebook execution.
	EditorId *string `type:"string"`

	// The timestamp when notebook execution started.
	EndTime *time.Time `type:"timestamp"`

	// The unique ID of the execution engine for the notebook execution.
	ExecutionEngineId *string `type:"string"`

	// The unique identifier of the notebook execution.
	NotebookExecutionId *string `type:"string"`

	// The name of the notebook execution.
	NotebookExecutionName *string `type:"string"`

	// The Amazon S3 location that stores the notebook execution input.
	NotebookS3Location *NotebookS3LocationForOutput_ `type:"structure"`

	// The timestamp when notebook execution started.
	StartTime *time.Time `type:"timestamp"`

	// The status of the notebook execution.
	//
	//    * START_PENDING indicates that the cluster has received the execution
	//    request but execution has not begun.
	//
	//    * STARTING indicates that the execution is starting on the cluster.
	//
	//    * RUNNING indicates that the execution is being processed by the cluster.
	//
	//    * FINISHING indicates that execution processing is in the final stages.
	//
	//    * FINISHED indicates that the execution has completed without error.
	//
	//    * FAILING indicates that the execution is failing and will not finish
	//    successfully.
	//
	//    * FAILED indicates that the execution failed.
	//
	//    * STOP_PENDING indicates that the cluster has received a StopNotebookExecution
	//    request and the stop is pending.
	//
	//    * STOPPING indicates that the cluster is in the process of stopping the
	//    execution as a result of a StopNotebookExecution request.
	//
	//    * STOPPED indicates that the execution stopped because of a StopNotebookExecution
	//    request.
	Status *string `type:"string" enum:"NotebookExecutionStatus"`
	// contains filtered or unexported fields
}

Details for a notebook execution. The details include information such as the unique ID and status of the notebook execution.

func (NotebookExecutionSummary) GoString added in v1.34.13

func (s NotebookExecutionSummary) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*NotebookExecutionSummary) SetEditorId added in v1.34.13

SetEditorId sets the EditorId field's value.

func (*NotebookExecutionSummary) SetEndTime added in v1.34.13

SetEndTime sets the EndTime field's value.

func (*NotebookExecutionSummary) SetExecutionEngineId added in v1.44.261

func (s *NotebookExecutionSummary) SetExecutionEngineId(v string) *NotebookExecutionSummary

SetExecutionEngineId sets the ExecutionEngineId field's value.

func (*NotebookExecutionSummary) SetNotebookExecutionId added in v1.34.13

func (s *NotebookExecutionSummary) SetNotebookExecutionId(v string) *NotebookExecutionSummary

SetNotebookExecutionId sets the NotebookExecutionId field's value.

func (*NotebookExecutionSummary) SetNotebookExecutionName added in v1.34.13

func (s *NotebookExecutionSummary) SetNotebookExecutionName(v string) *NotebookExecutionSummary

SetNotebookExecutionName sets the NotebookExecutionName field's value.

func (*NotebookExecutionSummary) SetNotebookS3Location added in v1.44.261

SetNotebookS3Location sets the NotebookS3Location field's value.

func (*NotebookExecutionSummary) SetStartTime added in v1.34.13

SetStartTime sets the StartTime field's value.

func (*NotebookExecutionSummary) SetStatus added in v1.34.13

SetStatus sets the Status field's value.

func (NotebookExecutionSummary) String added in v1.34.13

func (s NotebookExecutionSummary) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type NotebookS3LocationForOutput_ added in v1.44.261

type NotebookS3LocationForOutput_ struct {

	// The Amazon S3 bucket that stores the notebook execution input.
	Bucket *string `type:"string"`

	// The key to the Amazon S3 location that stores the notebook execution input.
	Key *string `min:"1" type:"string"`
	// contains filtered or unexported fields
}

The Amazon S3 location that stores the notebook execution input.

func (NotebookS3LocationForOutput_) GoString added in v1.44.261

func (s NotebookS3LocationForOutput_) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*NotebookS3LocationForOutput_) SetBucket added in v1.44.261

SetBucket sets the Bucket field's value.

func (*NotebookS3LocationForOutput_) SetKey added in v1.44.261

SetKey sets the Key field's value.

func (NotebookS3LocationForOutput_) String added in v1.44.261

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type NotebookS3LocationFromInput_ added in v1.44.261

type NotebookS3LocationFromInput_ struct {

	// The Amazon S3 bucket that stores the notebook execution input.
	Bucket *string `type:"string"`

	// The key to the Amazon S3 location that stores the notebook execution input.
	Key *string `min:"1" type:"string"`
	// contains filtered or unexported fields
}

The Amazon S3 location that stores the notebook execution input.

func (NotebookS3LocationFromInput_) GoString added in v1.44.261

func (s NotebookS3LocationFromInput_) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*NotebookS3LocationFromInput_) SetBucket added in v1.44.261

SetBucket sets the Bucket field's value.

func (*NotebookS3LocationFromInput_) SetKey added in v1.44.261

SetKey sets the Key field's value.

func (NotebookS3LocationFromInput_) String added in v1.44.261

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*NotebookS3LocationFromInput_) Validate added in v1.44.261

func (s *NotebookS3LocationFromInput_) Validate() error

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

type OSRelease added in v1.44.11

type OSRelease struct {

	// The Amazon Linux release specified for a cluster in the RunJobFlow request.
	// The format is as shown in Amazon Linux 2 Release Notes (https://docs.aws.amazon.com/AL2/latest/relnotes/relnotes-20220218.html).
	// For example, 2.0.20220218.1.
	Label *string `type:"string"`
	// contains filtered or unexported fields
}

The Amazon Linux release specified for a cluster in the RunJobFlow request.

func (OSRelease) GoString added in v1.44.11

func (s OSRelease) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*OSRelease) SetLabel added in v1.44.11

func (s *OSRelease) SetLabel(v string) *OSRelease

SetLabel sets the Label field's value.

func (OSRelease) String added in v1.44.11

func (s OSRelease) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type OnDemandCapacityReservationOptions added in v1.37.26

type OnDemandCapacityReservationOptions struct {

	// Indicates the instance's Capacity Reservation preferences. Possible preferences
	// include:
	//
	//    * open - The instance can run in any open Capacity Reservation that has
	//    matching attributes (instance type, platform, Availability Zone).
	//
	//    * none - The instance avoids running in a Capacity Reservation even if
	//    one is available. The instance runs as an On-Demand Instance.
	CapacityReservationPreference *string `type:"string" enum:"OnDemandCapacityReservationPreference"`

	// The ARN of the Capacity Reservation resource group in which to run the instance.
	CapacityReservationResourceGroupArn *string `type:"string"`

	// Indicates whether to use unused Capacity Reservations for fulfilling On-Demand
	// capacity.
	//
	// If you specify use-capacity-reservations-first, the fleet uses unused Capacity
	// Reservations to fulfill On-Demand capacity up to the target On-Demand capacity.
	// If multiple instance pools have unused Capacity Reservations, the On-Demand
	// allocation strategy (lowest-price) is applied. If the number of unused Capacity
	// Reservations is less than the On-Demand target capacity, the remaining On-Demand
	// target capacity is launched according to the On-Demand allocation strategy
	// (lowest-price).
	//
	// If you do not specify a value, the fleet fulfills the On-Demand capacity
	// according to the chosen On-Demand allocation strategy.
	UsageStrategy *string `type:"string" enum:"OnDemandCapacityReservationUsageStrategy"`
	// contains filtered or unexported fields
}

Describes the strategy for using unused Capacity Reservations for fulfilling On-Demand capacity.

func (OnDemandCapacityReservationOptions) GoString added in v1.37.26

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*OnDemandCapacityReservationOptions) SetCapacityReservationPreference added in v1.37.26

func (s *OnDemandCapacityReservationOptions) SetCapacityReservationPreference(v string) *OnDemandCapacityReservationOptions

SetCapacityReservationPreference sets the CapacityReservationPreference field's value.

func (*OnDemandCapacityReservationOptions) SetCapacityReservationResourceGroupArn added in v1.37.31

func (s *OnDemandCapacityReservationOptions) SetCapacityReservationResourceGroupArn(v string) *OnDemandCapacityReservationOptions

SetCapacityReservationResourceGroupArn sets the CapacityReservationResourceGroupArn field's value.

func (*OnDemandCapacityReservationOptions) SetUsageStrategy added in v1.37.26

SetUsageStrategy sets the UsageStrategy field's value.

func (OnDemandCapacityReservationOptions) String added in v1.37.26

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type OnDemandProvisioningSpecification added in v1.32.9

type OnDemandProvisioningSpecification struct {

	// Specifies the strategy to use in launching On-Demand instance fleets. Currently,
	// the only option is lowest-price (the default), which launches the lowest
	// price first.
	//
	// AllocationStrategy is a required field
	AllocationStrategy *string `type:"string" required:"true" enum:"OnDemandProvisioningAllocationStrategy"`

	// The launch specification for On-Demand instances in the instance fleet, which
	// determines the allocation strategy.
	CapacityReservationOptions *OnDemandCapacityReservationOptions `type:"structure"`
	// contains filtered or unexported fields
}

The launch specification for On-Demand Instances in the instance fleet, which determines the allocation strategy.

The instance fleet configuration is available only in Amazon EMR releases 4.8.0 and later, excluding 5.0.x versions. On-Demand Instances allocation strategy is available in Amazon EMR releases 5.12.1 and later.

func (OnDemandProvisioningSpecification) GoString added in v1.32.9

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*OnDemandProvisioningSpecification) SetAllocationStrategy added in v1.32.9

SetAllocationStrategy sets the AllocationStrategy field's value.

func (*OnDemandProvisioningSpecification) SetCapacityReservationOptions added in v1.37.26

SetCapacityReservationOptions sets the CapacityReservationOptions field's value.

func (OnDemandProvisioningSpecification) String added in v1.32.9

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*OnDemandProvisioningSpecification) Validate added in v1.32.9

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

type OnDemandResizingSpecification added in v1.44.203

type OnDemandResizingSpecification struct {

	// On-Demand resize timeout in minutes. If On-Demand Instances are not provisioned
	// within this time, the resize workflow stops. The minimum value is 5 minutes,
	// and the maximum value is 10,080 minutes (7 days). The timeout applies to
	// all resize workflows on the Instance Fleet. The resize could be triggered
	// by Amazon EMR Managed Scaling or by the customer (via Amazon EMR Console,
	// Amazon EMR CLI modify-instance-fleet or Amazon EMR SDK ModifyInstanceFleet
	// API) or by Amazon EMR due to Amazon EC2 Spot Reclamation.
	//
	// TimeoutDurationMinutes is a required field
	TimeoutDurationMinutes *int64 `type:"integer" required:"true"`
	// contains filtered or unexported fields
}

The resize specification for On-Demand Instances in the instance fleet, which contains the resize timeout period.

func (OnDemandResizingSpecification) GoString added in v1.44.203

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*OnDemandResizingSpecification) SetTimeoutDurationMinutes added in v1.44.203

func (s *OnDemandResizingSpecification) SetTimeoutDurationMinutes(v int64) *OnDemandResizingSpecification

SetTimeoutDurationMinutes sets the TimeoutDurationMinutes field's value.

func (OnDemandResizingSpecification) String added in v1.44.203

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*OnDemandResizingSpecification) Validate added in v1.44.203

func (s *OnDemandResizingSpecification) Validate() error

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

type OutputNotebookS3LocationForOutput_ added in v1.44.261

type OutputNotebookS3LocationForOutput_ struct {

	// The Amazon S3 bucket that stores the notebook execution output.
	Bucket *string `type:"string"`

	// The key to the Amazon S3 location that stores the notebook execution output.
	Key *string `min:"1" type:"string"`
	// contains filtered or unexported fields
}

The Amazon S3 location that stores the notebook execution output.

func (OutputNotebookS3LocationForOutput_) GoString added in v1.44.261

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*OutputNotebookS3LocationForOutput_) SetBucket added in v1.44.261

SetBucket sets the Bucket field's value.

func (*OutputNotebookS3LocationForOutput_) SetKey added in v1.44.261

SetKey sets the Key field's value.

func (OutputNotebookS3LocationForOutput_) String added in v1.44.261

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type OutputNotebookS3LocationFromInput_ added in v1.44.261

type OutputNotebookS3LocationFromInput_ struct {

	// The Amazon S3 bucket that stores the notebook execution output.
	Bucket *string `type:"string"`

	// The key to the Amazon S3 location that stores the notebook execution output.
	Key *string `min:"1" type:"string"`
	// contains filtered or unexported fields
}

The Amazon S3 location that stores the notebook execution output.

func (OutputNotebookS3LocationFromInput_) GoString added in v1.44.261

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*OutputNotebookS3LocationFromInput_) SetBucket added in v1.44.261

SetBucket sets the Bucket field's value.

func (*OutputNotebookS3LocationFromInput_) SetKey added in v1.44.261

SetKey sets the Key field's value.

func (OutputNotebookS3LocationFromInput_) String added in v1.44.261

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*OutputNotebookS3LocationFromInput_) Validate added in v1.44.261

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

type PlacementGroupConfig added in v1.35.0

type PlacementGroupConfig struct {

	// Role of the instance in the cluster.
	//
	// Starting with Amazon EMR release 5.23.0, the only supported instance role
	// is MASTER.
	//
	// InstanceRole is a required field
	InstanceRole *string `type:"string" required:"true" enum:"InstanceRoleType"`

	// Amazon EC2 Placement Group strategy associated with instance role.
	//
	// Starting with Amazon EMR release 5.23.0, the only supported placement strategy
	// is SPREAD for the MASTER instance role.
	PlacementStrategy *string `type:"string" enum:"PlacementGroupStrategy"`
	// contains filtered or unexported fields
}

Placement group configuration for an Amazon EMR cluster. The configuration specifies the placement strategy that can be applied to instance roles during cluster creation.

To use this configuration, consider attaching managed policy AmazonElasticMapReducePlacementGroupPolicy to the Amazon EMR role.

func (PlacementGroupConfig) GoString added in v1.35.0

func (s PlacementGroupConfig) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*PlacementGroupConfig) SetInstanceRole added in v1.35.0

func (s *PlacementGroupConfig) SetInstanceRole(v string) *PlacementGroupConfig

SetInstanceRole sets the InstanceRole field's value.

func (*PlacementGroupConfig) SetPlacementStrategy added in v1.35.0

func (s *PlacementGroupConfig) SetPlacementStrategy(v string) *PlacementGroupConfig

SetPlacementStrategy sets the PlacementStrategy field's value.

func (PlacementGroupConfig) String added in v1.35.0

func (s PlacementGroupConfig) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*PlacementGroupConfig) Validate added in v1.35.0

func (s *PlacementGroupConfig) Validate() error

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

type PlacementType

type PlacementType struct {

	// The Amazon EC2 Availability Zone for the cluster. AvailabilityZone is used
	// for uniform instance groups, while AvailabilityZones (plural) is used for
	// instance fleets.
	AvailabilityZone *string `type:"string"`

	// When multiple Availability Zones are specified, Amazon EMR evaluates them
	// and launches instances in the optimal Availability Zone. AvailabilityZones
	// is used for instance fleets, while AvailabilityZone (singular) is used for
	// uniform instance groups.
	//
	// The instance fleet configuration is available only in Amazon EMR releases
	// 4.8.0 and later, excluding 5.0.x versions.
	AvailabilityZones []*string `type:"list"`
	// contains filtered or unexported fields
}

The Amazon EC2 Availability Zone configuration of the cluster (job flow).

func (PlacementType) GoString added in v0.6.5

func (s PlacementType) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*PlacementType) SetAvailabilityZone added in v1.5.0

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

SetAvailabilityZone sets the AvailabilityZone field's value.

func (*PlacementType) SetAvailabilityZones added in v1.7.8

func (s *PlacementType) SetAvailabilityZones(v []*string) *PlacementType

SetAvailabilityZones sets the AvailabilityZones field's value.

func (PlacementType) String added in v0.6.5

func (s PlacementType) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type PortRange added in v1.23.3

type PortRange struct {

	// The smallest port number in a specified range of port numbers.
	MaxRange *int64 `type:"integer"`

	// The smallest port number in a specified range of port numbers.
	//
	// MinRange is a required field
	MinRange *int64 `type:"integer" required:"true"`
	// contains filtered or unexported fields
}

A list of port ranges that are permitted to allow inbound traffic from all public IP addresses. To specify a single port, use the same value for MinRange and MaxRange.

func (PortRange) GoString added in v1.23.3

func (s PortRange) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*PortRange) SetMaxRange added in v1.23.3

func (s *PortRange) SetMaxRange(v int64) *PortRange

SetMaxRange sets the MaxRange field's value.

func (*PortRange) SetMinRange added in v1.23.3

func (s *PortRange) SetMinRange(v int64) *PortRange

SetMinRange sets the MinRange field's value.

func (PortRange) String added in v1.23.3

func (s PortRange) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*PortRange) Validate added in v1.23.3

func (s *PortRange) Validate() error

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

type PutAutoScalingPolicyInput added in v1.5.8

type PutAutoScalingPolicyInput struct {

	// Specifies the definition of the automatic scaling policy.
	//
	// AutoScalingPolicy is a required field
	AutoScalingPolicy *AutoScalingPolicy `type:"structure" required:"true"`

	// Specifies the ID of a cluster. The instance group to which the automatic
	// scaling policy is applied is within this cluster.
	//
	// ClusterId is a required field
	ClusterId *string `type:"string" required:"true"`

	// Specifies the ID of the instance group to which the automatic scaling policy
	// is applied.
	//
	// InstanceGroupId is a required field
	InstanceGroupId *string `type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (PutAutoScalingPolicyInput) GoString added in v1.5.8

func (s PutAutoScalingPolicyInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*PutAutoScalingPolicyInput) SetAutoScalingPolicy added in v1.5.8

SetAutoScalingPolicy sets the AutoScalingPolicy field's value.

func (*PutAutoScalingPolicyInput) SetClusterId added in v1.5.8

SetClusterId sets the ClusterId field's value.

func (*PutAutoScalingPolicyInput) SetInstanceGroupId added in v1.5.8

SetInstanceGroupId sets the InstanceGroupId field's value.

func (PutAutoScalingPolicyInput) String added in v1.5.8

func (s PutAutoScalingPolicyInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*PutAutoScalingPolicyInput) Validate added in v1.5.8

func (s *PutAutoScalingPolicyInput) Validate() error

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

type PutAutoScalingPolicyOutput added in v1.5.8

type PutAutoScalingPolicyOutput struct {

	// The automatic scaling policy definition.
	AutoScalingPolicy *AutoScalingPolicyDescription `type:"structure"`

	// The Amazon Resource Name (ARN) of the cluster.
	ClusterArn *string `min:"20" type:"string"`

	// Specifies the ID of a cluster. The instance group to which the automatic
	// scaling policy is applied is within this cluster.
	ClusterId *string `type:"string"`

	// Specifies the ID of the instance group to which the scaling policy is applied.
	InstanceGroupId *string `type:"string"`
	// contains filtered or unexported fields
}

func (PutAutoScalingPolicyOutput) GoString added in v1.5.8

func (s PutAutoScalingPolicyOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*PutAutoScalingPolicyOutput) SetAutoScalingPolicy added in v1.5.8

SetAutoScalingPolicy sets the AutoScalingPolicy field's value.

func (*PutAutoScalingPolicyOutput) SetClusterArn added in v1.25.36

SetClusterArn sets the ClusterArn field's value.

func (*PutAutoScalingPolicyOutput) SetClusterId added in v1.5.8

SetClusterId sets the ClusterId field's value.

func (*PutAutoScalingPolicyOutput) SetInstanceGroupId added in v1.5.8

SetInstanceGroupId sets the InstanceGroupId field's value.

func (PutAutoScalingPolicyOutput) String added in v1.5.8

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type PutAutoTerminationPolicyInput added in v1.40.32

type PutAutoTerminationPolicyInput struct {

	// Specifies the auto-termination policy to attach to the cluster.
	AutoTerminationPolicy *AutoTerminationPolicy `type:"structure"`

	// Specifies the ID of the Amazon EMR cluster to which the auto-termination
	// policy will be attached.
	//
	// ClusterId is a required field
	ClusterId *string `type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (PutAutoTerminationPolicyInput) GoString added in v1.40.32

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*PutAutoTerminationPolicyInput) SetAutoTerminationPolicy added in v1.40.32

SetAutoTerminationPolicy sets the AutoTerminationPolicy field's value.

func (*PutAutoTerminationPolicyInput) SetClusterId added in v1.40.32

SetClusterId sets the ClusterId field's value.

func (PutAutoTerminationPolicyInput) String added in v1.40.32

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*PutAutoTerminationPolicyInput) Validate added in v1.40.32

func (s *PutAutoTerminationPolicyInput) Validate() error

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

type PutAutoTerminationPolicyOutput added in v1.40.32

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

func (PutAutoTerminationPolicyOutput) GoString added in v1.40.32

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (PutAutoTerminationPolicyOutput) String added in v1.40.32

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type PutBlockPublicAccessConfigurationInput added in v1.23.3

type PutBlockPublicAccessConfigurationInput struct {

	// A configuration for Amazon EMR block public access. The configuration applies
	// to all clusters created in your account for the current Region. The configuration
	// specifies whether block public access is enabled. If block public access
	// is enabled, security groups associated with the cluster cannot have rules
	// that allow inbound traffic from 0.0.0.0/0 or ::/0 on a port, unless the port
	// is specified as an exception using PermittedPublicSecurityGroupRuleRanges
	// in the BlockPublicAccessConfiguration. By default, Port 22 (SSH) is an exception,
	// and public access is allowed on this port. You can change this by updating
	// BlockPublicSecurityGroupRules to remove the exception.
	//
	// For accounts that created clusters in a Region before November 25, 2019,
	// block public access is disabled by default in that Region. To use this feature,
	// you must manually enable and configure it. For accounts that did not create
	// an Amazon EMR cluster in a Region before this date, block public access is
	// enabled by default in that Region.
	//
	// BlockPublicAccessConfiguration is a required field
	BlockPublicAccessConfiguration *BlockPublicAccessConfiguration `type:"structure" required:"true"`
	// contains filtered or unexported fields
}

func (PutBlockPublicAccessConfigurationInput) GoString added in v1.23.3

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*PutBlockPublicAccessConfigurationInput) SetBlockPublicAccessConfiguration added in v1.23.3

SetBlockPublicAccessConfiguration sets the BlockPublicAccessConfiguration field's value.

func (PutBlockPublicAccessConfigurationInput) String added in v1.23.3

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*PutBlockPublicAccessConfigurationInput) Validate added in v1.23.3

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

type PutBlockPublicAccessConfigurationOutput added in v1.23.3

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

func (PutBlockPublicAccessConfigurationOutput) GoString added in v1.23.3

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (PutBlockPublicAccessConfigurationOutput) String added in v1.23.3

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type PutManagedScalingPolicyInput added in v1.30.11

type PutManagedScalingPolicyInput struct {

	// Specifies the ID of an Amazon EMR cluster where the managed scaling policy
	// is attached.
	//
	// ClusterId is a required field
	ClusterId *string `type:"string" required:"true"`

	// Specifies the constraints for the managed scaling policy.
	//
	// ManagedScalingPolicy is a required field
	ManagedScalingPolicy *ManagedScalingPolicy `type:"structure" required:"true"`
	// contains filtered or unexported fields
}

func (PutManagedScalingPolicyInput) GoString added in v1.30.11

func (s PutManagedScalingPolicyInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*PutManagedScalingPolicyInput) SetClusterId added in v1.30.11

SetClusterId sets the ClusterId field's value.

func (*PutManagedScalingPolicyInput) SetManagedScalingPolicy added in v1.30.11

SetManagedScalingPolicy sets the ManagedScalingPolicy field's value.

func (PutManagedScalingPolicyInput) String added in v1.30.11

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*PutManagedScalingPolicyInput) Validate added in v1.30.11

func (s *PutManagedScalingPolicyInput) Validate() error

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

type PutManagedScalingPolicyOutput added in v1.30.11

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

func (PutManagedScalingPolicyOutput) GoString added in v1.30.11

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (PutManagedScalingPolicyOutput) String added in v1.30.11

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type ReleaseLabelFilter added in v1.40.5

type ReleaseLabelFilter struct {

	// Optional release label application filter. For example, spark@2.1.0.
	Application *string `type:"string"`

	// Optional release label version prefix filter. For example, emr-5.
	Prefix *string `type:"string"`
	// contains filtered or unexported fields
}

The release label filters by application or version prefix.

func (ReleaseLabelFilter) GoString added in v1.40.5

func (s ReleaseLabelFilter) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ReleaseLabelFilter) SetApplication added in v1.40.5

func (s *ReleaseLabelFilter) SetApplication(v string) *ReleaseLabelFilter

SetApplication sets the Application field's value.

func (*ReleaseLabelFilter) SetPrefix added in v1.40.5

func (s *ReleaseLabelFilter) SetPrefix(v string) *ReleaseLabelFilter

SetPrefix sets the Prefix field's value.

func (ReleaseLabelFilter) String added in v1.40.5

func (s ReleaseLabelFilter) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type RemoveAutoScalingPolicyInput added in v1.5.8

type RemoveAutoScalingPolicyInput struct {

	// Specifies the ID of a cluster. The instance group to which the automatic
	// scaling policy is applied is within this cluster.
	//
	// ClusterId is a required field
	ClusterId *string `type:"string" required:"true"`

	// Specifies the ID of the instance group to which the scaling policy is applied.
	//
	// InstanceGroupId is a required field
	InstanceGroupId *string `type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (RemoveAutoScalingPolicyInput) GoString added in v1.5.8

func (s RemoveAutoScalingPolicyInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*RemoveAutoScalingPolicyInput) SetClusterId added in v1.5.8

SetClusterId sets the ClusterId field's value.

func (*RemoveAutoScalingPolicyInput) SetInstanceGroupId added in v1.5.8

SetInstanceGroupId sets the InstanceGroupId field's value.

func (RemoveAutoScalingPolicyInput) String added in v1.5.8

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*RemoveAutoScalingPolicyInput) Validate added in v1.5.8

func (s *RemoveAutoScalingPolicyInput) Validate() error

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

type RemoveAutoScalingPolicyOutput added in v1.5.8

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

func (RemoveAutoScalingPolicyOutput) GoString added in v1.5.8

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (RemoveAutoScalingPolicyOutput) String added in v1.5.8

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type RemoveAutoTerminationPolicyInput added in v1.40.32

type RemoveAutoTerminationPolicyInput struct {

	// Specifies the ID of the Amazon EMR cluster from which the auto-termination
	// policy will be removed.
	//
	// ClusterId is a required field
	ClusterId *string `type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (RemoveAutoTerminationPolicyInput) GoString added in v1.40.32

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*RemoveAutoTerminationPolicyInput) SetClusterId added in v1.40.32

SetClusterId sets the ClusterId field's value.

func (RemoveAutoTerminationPolicyInput) String added in v1.40.32

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*RemoveAutoTerminationPolicyInput) Validate added in v1.40.32

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

type RemoveAutoTerminationPolicyOutput added in v1.40.32

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

func (RemoveAutoTerminationPolicyOutput) GoString added in v1.40.32

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (RemoveAutoTerminationPolicyOutput) String added in v1.40.32

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type RemoveManagedScalingPolicyInput added in v1.30.11

type RemoveManagedScalingPolicyInput struct {

	// Specifies the ID of the cluster from which the managed scaling policy will
	// be removed.
	//
	// ClusterId is a required field
	ClusterId *string `type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (RemoveManagedScalingPolicyInput) GoString added in v1.30.11

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*RemoveManagedScalingPolicyInput) SetClusterId added in v1.30.11

SetClusterId sets the ClusterId field's value.

func (RemoveManagedScalingPolicyInput) String added in v1.30.11

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*RemoveManagedScalingPolicyInput) Validate added in v1.30.11

func (s *RemoveManagedScalingPolicyInput) Validate() error

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

type RemoveManagedScalingPolicyOutput added in v1.30.11

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

func (RemoveManagedScalingPolicyOutput) GoString added in v1.30.11

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (RemoveManagedScalingPolicyOutput) String added in v1.30.11

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type RemoveTagsInput

type RemoveTagsInput struct {

	// The Amazon EMR resource identifier from which tags will be removed. For example,
	// a cluster identifier or an Amazon EMR Studio ID.
	//
	// ResourceId is a required field
	ResourceId *string `type:"string" required:"true"`

	// A list of tag keys to remove from the resource.
	//
	// TagKeys is a required field
	TagKeys []*string `type:"list" required:"true"`
	// contains filtered or unexported fields
}

This input identifies an Amazon EMR resource and a list of tags to remove.

func (RemoveTagsInput) GoString added in v0.6.5

func (s RemoveTagsInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*RemoveTagsInput) SetResourceId added in v1.5.0

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

SetResourceId sets the ResourceId field's value.

func (*RemoveTagsInput) SetTagKeys added in v1.5.0

func (s *RemoveTagsInput) SetTagKeys(v []*string) *RemoveTagsInput

SetTagKeys sets the TagKeys field's value.

func (RemoveTagsInput) String added in v0.6.5

func (s RemoveTagsInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*RemoveTagsInput) Validate added in v1.1.21

func (s *RemoveTagsInput) Validate() error

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

type RemoveTagsOutput

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

This output indicates the result of removing tags from the resource.

func (RemoveTagsOutput) GoString added in v0.6.5

func (s RemoveTagsOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (RemoveTagsOutput) String added in v0.6.5

func (s RemoveTagsOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type RunJobFlowInput

type RunJobFlowInput struct {

	// A JSON string for selecting additional features.
	AdditionalInfo *string `type:"string"`

	// 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"`

	// Applies to Amazon EMR releases 4.0 and later. A case-insensitive list of
	// applications for Amazon EMR to install and configure when launching the cluster.
	// For a list of applications available for each Amazon EMR release version,
	// see the Amazon EMRRelease Guide (https://docs.aws.amazon.com/emr/latest/ReleaseGuide/).
	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 Amazon EC2 instances in an instance group.
	AutoScalingRole *string `type:"string"`

	// An auto-termination policy for an Amazon EMR cluster. An auto-termination
	// policy defines the amount of idle time in seconds after which a cluster automatically
	// terminates. For alternative cluster termination options, see Control cluster
	// termination (https://docs.aws.amazon.com/emr/latest/ManagementGuide/emr-plan-termination.html).
	AutoTerminationPolicy *AutoTerminationPolicy `type:"structure"`

	// A list of bootstrap actions to run before Hadoop starts on the cluster nodes.
	BootstrapActions []*BootstrapActionConfig `type:"list"`

	// For Amazon EMR releases 4.0 and later. The list of configurations supplied
	// for the Amazon EMR cluster that you are creating.
	Configurations []*Configuration `type:"list"`

	// Available only in Amazon EMR releases 5.7.0 and later. The ID of a custom
	// Amazon EBS-backed Linux AMI. If specified, Amazon EMR uses this AMI when
	// it launches cluster Amazon EC2 instances. For more information about custom
	// AMIs in Amazon EMR, see Using a Custom AMI (https://docs.aws.amazon.com/emr/latest/ManagementGuide/emr-custom-ami.html)
	// in the Amazon EMR Management Guide. If omitted, the cluster uses the base
	// Linux AMI for the ReleaseLabel specified. For Amazon EMR releases 2.x and
	// 3.x, use AmiVersion instead.
	//
	// For information about creating a custom AMI, see Creating an Amazon EBS-Backed
	// Linux AMI (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/creating-an-ami-ebs.html)
	// in the Amazon Elastic Compute Cloud User Guide for Linux Instances. For information
	// about finding an AMI ID, see Finding a Linux AMI (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/finding-an-ami.html).
	CustomAmiId *string `type:"string"`

	// The IOPS, of the Amazon EBS root device volume of the Linux AMI that is used
	// for each Amazon EC2 instance. Available in Amazon EMR releases 6.15.0 and
	// later.
	EbsRootVolumeIops *int64 `type:"integer"`

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

	// The throughput, in MiB/s, of the Amazon EBS root device volume of the Linux
	// AMI that is used for each Amazon EC2 instance. Available in Amazon EMR releases
	// 6.15.0 and later.
	EbsRootVolumeThroughput *int64 `type:"integer"`

	// A specification of the number and type of Amazon EC2 instances.
	//
	// Instances is a required field
	Instances *JobFlowInstancesConfig `type:"structure" required:"true"`

	// Also called instance profile and Amazon EC2 role. An IAM role for an Amazon
	// EMR cluster. The Amazon EC2 instances of the cluster assume this role. The
	// default role is EMR_EC2_DefaultRole. In order to use the default role, you
	// must have already created it using the CLI or console.
	JobFlowRole *string `type:"string"`

	// 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 Amazon EMR Management Guide.
	KerberosAttributes *KerberosAttributes `type:"structure"`

	// The KMS key used for encrypting log files. If a value is not provided, the
	// logs remain encrypted by AES-256. This attribute is only available with Amazon
	// EMR releases 5.30.0 and later, excluding Amazon EMR 6.0.0.
	LogEncryptionKmsKeyId *string `type:"string"`

	// The location in Amazon S3 to write the log files of the job flow. If a value
	// is not provided, logs are not created.
	LogUri *string `type:"string"`

	// The specified managed scaling policy for an Amazon EMR cluster.
	ManagedScalingPolicy *ManagedScalingPolicy `type:"structure"`

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

	//
	// For Amazon EMR releases 3.x and 2.x. For Amazon EMR releases 4.x and later,
	// use Applications.
	//
	// A list of strings that indicates third-party software to use with the job
	// flow that accepts a user argument list. Amazon EMR accepts and forwards the
	// argument list to the corresponding installation script as bootstrap action
	// arguments. For more information, see "Launch a Job Flow on the MapR Distribution
	// for Hadoop" in the Amazon EMR Developer Guide (https://docs.aws.amazon.com/emr/latest/DeveloperGuide/emr-dg.pdf).
	// Supported values are:
	//
	//    * "mapr-m3" - launch the cluster using MapR M3 Edition.
	//
	//    * "mapr-m5" - launch the cluster using MapR M5 Edition.
	//
	//    * "mapr" with the user arguments specifying "--edition,m3" or "--edition,m5"
	//    - launch the job flow using MapR M3 or M5 Edition respectively.
	//
	//    * "mapr-m7" - launch the cluster using MapR M7 Edition.
	//
	//    * "hunk" - launch the cluster with the Hunk Big Data Analytics Platform.
	//
	//    * "hue"- launch the cluster with Hue installed.
	//
	//    * "spark" - launch the cluster with Apache Spark installed.
	//
	//    * "ganglia" - launch the cluster with the Ganglia Monitoring System installed.
	NewSupportedProducts []*SupportedProductConfig `type:"list"`

	// Specifies a particular Amazon Linux release for all nodes in a cluster launch
	// RunJobFlow request. If a release is not specified, Amazon EMR uses the latest
	// validated Amazon Linux release for cluster launch.
	OSReleaseLabel *string `type:"string"`

	// The specified placement group configuration for an Amazon EMR cluster.
	PlacementGroupConfigs []*PlacementGroupConfig `type:"list"`

	// 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 such as 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 version 4.0 and later. Earlier versions
	// use AmiVersion.
	ReleaseLabel *string `type:"string"`

	// Applies only when CustomAmiID is used. Specifies which updates from the Amazon
	// Linux AMI package repositories to apply automatically when the instance boots
	// using the AMI. If omitted, the default is SECURITY, which indicates that
	// only security updates are applied. If NONE is specified, no updates are applied,
	// and all updates must be applied manually.
	RepoUpgradeOnBoot *string `type:"string" enum:"RepoUpgradeOnBoot"`

	// Specifies 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 adds nodes to a deny list 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 releases 4.1.0 and later, and is the default
	// for releases of Amazon EMR earlier than 5.1.0.
	ScaleDownBehavior *string `type:"string" enum:"ScaleDownBehavior"`

	// The name of a security configuration to apply to the cluster.
	SecurityConfiguration *string `type:"string"`

	// The IAM role that Amazon EMR assumes in order to access Amazon Web Services
	// resources on your behalf. If you've created a custom service role path, you
	// must specify it for the service role when you launch your cluster.
	ServiceRole *string `type:"string"`

	// Specifies the number of steps that can be executed concurrently. The default
	// value is 1. The maximum value is 256.
	StepConcurrencyLevel *int64 `type:"integer"`

	// A list of steps to run.
	Steps []*StepConfig `type:"list"`

	//
	// For Amazon EMR releases 3.x and 2.x. For Amazon EMR releases 4.x and later,
	// use Applications.
	//
	// A list of strings that indicates third-party software to use. For more information,
	// see the Amazon EMR Developer Guide (https://docs.aws.amazon.com/emr/latest/DeveloperGuide/emr-dg.pdf).
	// Currently supported values are:
	//
	//    * "mapr-m3" - launch the job flow using MapR M3 Edition.
	//
	//    * "mapr-m5" - launch the job flow using MapR M5 Edition.
	SupportedProducts []*string `type:"list"`

	// A list of tags to associate with a cluster and propagate to Amazon EC2 instances.
	Tags []*Tag `type:"list"`

	//
	// The VisibleToAllUsers parameter is no longer supported. By default, the value
	// is set to true. Setting it to false now has no effect.
	//
	// Set this value to true so that IAM principals in the Amazon Web Services
	// account associated with the cluster can perform Amazon EMR actions on the
	// cluster that their IAM policies allow. This value defaults to true for clusters
	// created using the Amazon EMR API or the CLI create-cluster (https://docs.aws.amazon.com/cli/latest/reference/emr/create-cluster.html)
	// command.
	//
	// When set to false, only the IAM principal that created the cluster and the
	// Amazon Web Services account root user can perform Amazon EMR actions for
	// the cluster, regardless of the IAM permissions policies attached to other
	// IAM principals. For more information, see Understanding the Amazon EMR cluster
	// VisibleToAllUsers setting (https://docs.aws.amazon.com/emr/latest/ManagementGuide/security_IAM_emr-with-IAM.html#security_set_visible_to_all_users)
	// in the Amazon EMR Management Guide.
	VisibleToAllUsers *bool `type:"boolean"`
	// contains filtered or unexported fields
}

Input to the RunJobFlow operation.

func (RunJobFlowInput) GoString added in v0.6.5

func (s RunJobFlowInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*RunJobFlowInput) SetAdditionalInfo added in v1.5.0

func (s *RunJobFlowInput) SetAdditionalInfo(v string) *RunJobFlowInput

SetAdditionalInfo sets the AdditionalInfo field's value.

func (*RunJobFlowInput) SetAmiVersion added in v1.5.0

func (s *RunJobFlowInput) SetAmiVersion(v string) *RunJobFlowInput

SetAmiVersion sets the AmiVersion field's value.

func (*RunJobFlowInput) SetApplications added in v1.5.0

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

SetApplications sets the Applications field's value.

func (*RunJobFlowInput) SetAutoScalingRole added in v1.5.8

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

SetAutoScalingRole sets the AutoScalingRole field's value.

func (*RunJobFlowInput) SetAutoTerminationPolicy added in v1.40.32

func (s *RunJobFlowInput) SetAutoTerminationPolicy(v *AutoTerminationPolicy) *RunJobFlowInput

SetAutoTerminationPolicy sets the AutoTerminationPolicy field's value.

func (*RunJobFlowInput) SetBootstrapActions added in v1.5.0

func (s *RunJobFlowInput) SetBootstrapActions(v []*BootstrapActionConfig) *RunJobFlowInput

SetBootstrapActions sets the BootstrapActions field's value.

func (*RunJobFlowInput) SetConfigurations added in v1.5.0

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

SetConfigurations sets the Configurations field's value.

func (*RunJobFlowInput) SetCustomAmiId added in v1.10.14

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

SetCustomAmiId sets the CustomAmiId field's value.

func (*RunJobFlowInput) SetEbsRootVolumeIops added in v1.46.6

func (s *RunJobFlowInput) SetEbsRootVolumeIops(v int64) *RunJobFlowInput

SetEbsRootVolumeIops sets the EbsRootVolumeIops field's value.

func (*RunJobFlowInput) SetEbsRootVolumeSize added in v1.10.14

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

SetEbsRootVolumeSize sets the EbsRootVolumeSize field's value.

func (*RunJobFlowInput) SetEbsRootVolumeThroughput added in v1.46.6

func (s *RunJobFlowInput) SetEbsRootVolumeThroughput(v int64) *RunJobFlowInput

SetEbsRootVolumeThroughput sets the EbsRootVolumeThroughput field's value.

func (*RunJobFlowInput) SetInstances added in v1.5.0

SetInstances sets the Instances field's value.

func (*RunJobFlowInput) SetJobFlowRole added in v1.5.0

func (s *RunJobFlowInput) SetJobFlowRole(v string) *RunJobFlowInput

SetJobFlowRole sets the JobFlowRole field's value.

func (*RunJobFlowInput) SetKerberosAttributes added in v1.12.32

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

SetKerberosAttributes sets the KerberosAttributes field's value.

func (*RunJobFlowInput) SetLogEncryptionKmsKeyId added in v1.31.8

func (s *RunJobFlowInput) SetLogEncryptionKmsKeyId(v string) *RunJobFlowInput

SetLogEncryptionKmsKeyId sets the LogEncryptionKmsKeyId field's value.

func (*RunJobFlowInput) SetLogUri added in v1.5.0

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

SetLogUri sets the LogUri field's value.

func (*RunJobFlowInput) SetManagedScalingPolicy added in v1.30.11

func (s *RunJobFlowInput) SetManagedScalingPolicy(v *ManagedScalingPolicy) *RunJobFlowInput

SetManagedScalingPolicy sets the ManagedScalingPolicy field's value.

func (*RunJobFlowInput) SetName added in v1.5.0

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

SetName sets the Name field's value.

func (*RunJobFlowInput) SetNewSupportedProducts added in v1.5.0

func (s *RunJobFlowInput) SetNewSupportedProducts(v []*SupportedProductConfig) *RunJobFlowInput

SetNewSupportedProducts sets the NewSupportedProducts field's value.

func (*RunJobFlowInput) SetOSReleaseLabel added in v1.44.11

func (s *RunJobFlowInput) SetOSReleaseLabel(v string) *RunJobFlowInput

SetOSReleaseLabel sets the OSReleaseLabel field's value.

func (*RunJobFlowInput) SetPlacementGroupConfigs added in v1.35.0

func (s *RunJobFlowInput) SetPlacementGroupConfigs(v []*PlacementGroupConfig) *RunJobFlowInput

SetPlacementGroupConfigs sets the PlacementGroupConfigs field's value.

func (*RunJobFlowInput) SetReleaseLabel added in v1.5.0

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

SetReleaseLabel sets the ReleaseLabel field's value.

func (*RunJobFlowInput) SetRepoUpgradeOnBoot added in v1.10.14

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

SetRepoUpgradeOnBoot sets the RepoUpgradeOnBoot field's value.

func (*RunJobFlowInput) SetScaleDownBehavior added in v1.5.8

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

SetScaleDownBehavior sets the ScaleDownBehavior field's value.

func (*RunJobFlowInput) SetSecurityConfiguration added in v1.5.0

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

SetSecurityConfiguration sets the SecurityConfiguration field's value.

func (*RunJobFlowInput) SetServiceRole added in v1.5.0

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

SetServiceRole sets the ServiceRole field's value.

func (*RunJobFlowInput) SetStepConcurrencyLevel added in v1.25.41

func (s *RunJobFlowInput) SetStepConcurrencyLevel(v int64) *RunJobFlowInput

SetStepConcurrencyLevel sets the StepConcurrencyLevel field's value.

func (*RunJobFlowInput) SetSteps added in v1.5.0

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

SetSteps sets the Steps field's value.

func (*RunJobFlowInput) SetSupportedProducts added in v1.5.0

func (s *RunJobFlowInput) SetSupportedProducts(v []*string) *RunJobFlowInput

SetSupportedProducts sets the SupportedProducts field's value.

func (*RunJobFlowInput) SetTags added in v1.5.0

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

SetTags sets the Tags field's value.

func (*RunJobFlowInput) SetVisibleToAllUsers added in v1.5.0

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

SetVisibleToAllUsers sets the VisibleToAllUsers field's value.

func (RunJobFlowInput) String added in v0.6.5

func (s RunJobFlowInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*RunJobFlowInput) Validate added in v1.1.21

func (s *RunJobFlowInput) Validate() error

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

type RunJobFlowOutput

type RunJobFlowOutput struct {

	// The Amazon Resource Name (ARN) of the cluster.
	ClusterArn *string `min:"20" type:"string"`

	// A unique identifier for the job flow.
	JobFlowId *string `type:"string"`
	// contains filtered or unexported fields
}

The result of the RunJobFlow operation.

func (RunJobFlowOutput) GoString added in v0.6.5

func (s RunJobFlowOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*RunJobFlowOutput) SetClusterArn added in v1.25.36

func (s *RunJobFlowOutput) SetClusterArn(v string) *RunJobFlowOutput

SetClusterArn sets the ClusterArn field's value.

func (*RunJobFlowOutput) SetJobFlowId added in v1.5.0

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

SetJobFlowId sets the JobFlowId field's value.

func (RunJobFlowOutput) String added in v0.6.5

func (s RunJobFlowOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type ScalingAction added in v1.5.8

type ScalingAction struct {

	// Not available for instance groups. Instance groups use the market type specified
	// for the group.
	Market *string `type:"string" enum:"MarketType"`

	// The type of adjustment the automatic scaling activity makes when triggered,
	// and the periodicity of the adjustment.
	//
	// SimpleScalingPolicyConfiguration is a required field
	SimpleScalingPolicyConfiguration *SimpleScalingPolicyConfiguration `type:"structure" required:"true"`
	// contains filtered or unexported fields
}

The type of adjustment the automatic scaling activity makes when triggered, and the periodicity of the adjustment.

func (ScalingAction) GoString added in v1.5.8

func (s ScalingAction) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ScalingAction) SetMarket added in v1.5.8

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

SetMarket sets the Market field's value.

func (*ScalingAction) SetSimpleScalingPolicyConfiguration added in v1.5.8

func (s *ScalingAction) SetSimpleScalingPolicyConfiguration(v *SimpleScalingPolicyConfiguration) *ScalingAction

SetSimpleScalingPolicyConfiguration sets the SimpleScalingPolicyConfiguration field's value.

func (ScalingAction) String added in v1.5.8

func (s ScalingAction) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ScalingAction) Validate added in v1.5.8

func (s *ScalingAction) Validate() error

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

type ScalingConstraints added in v1.5.8

type ScalingConstraints struct {

	// The upper boundary of Amazon EC2 instances in an instance group beyond which
	// scaling activities are not allowed to grow. Scale-out activities will not
	// add instances beyond this boundary.
	//
	// MaxCapacity is a required field
	MaxCapacity *int64 `type:"integer" required:"true"`

	// The lower boundary of Amazon EC2 instances in an instance group below which
	// scaling activities are not allowed to shrink. Scale-in activities will not
	// terminate instances below this boundary.
	//
	// MinCapacity is a required field
	MinCapacity *int64 `type:"integer" required:"true"`
	// contains filtered or unexported fields
}

The upper and lower Amazon EC2 instance limits for an automatic scaling policy. Automatic scaling activities triggered by automatic scaling rules will not cause an instance group to grow above or below these limits.

func (ScalingConstraints) GoString added in v1.5.8

func (s ScalingConstraints) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ScalingConstraints) SetMaxCapacity added in v1.5.8

func (s *ScalingConstraints) SetMaxCapacity(v int64) *ScalingConstraints

SetMaxCapacity sets the MaxCapacity field's value.

func (*ScalingConstraints) SetMinCapacity added in v1.5.8

func (s *ScalingConstraints) SetMinCapacity(v int64) *ScalingConstraints

SetMinCapacity sets the MinCapacity field's value.

func (ScalingConstraints) String added in v1.5.8

func (s ScalingConstraints) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ScalingConstraints) Validate added in v1.5.8

func (s *ScalingConstraints) Validate() error

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

type ScalingRule added in v1.5.8

type ScalingRule struct {

	// The conditions that trigger an automatic scaling activity.
	//
	// Action is a required field
	Action *ScalingAction `type:"structure" required:"true"`

	// A friendly, more verbose description of the automatic scaling rule.
	Description *string `type:"string"`

	// The name used to identify an automatic scaling rule. Rule names must be unique
	// within a scaling policy.
	//
	// Name is a required field
	Name *string `type:"string" required:"true"`

	// The CloudWatch alarm definition that determines when automatic scaling activity
	// is triggered.
	//
	// Trigger is a required field
	Trigger *ScalingTrigger `type:"structure" required:"true"`
	// contains filtered or unexported fields
}

A scale-in or scale-out rule that defines scaling activity, including the CloudWatch metric alarm that triggers activity, how Amazon EC2 instances are added or removed, and the periodicity of adjustments. The automatic scaling policy for an instance group can comprise one or more automatic scaling rules.

func (ScalingRule) GoString added in v1.5.8

func (s ScalingRule) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ScalingRule) SetAction added in v1.5.8

func (s *ScalingRule) SetAction(v *ScalingAction) *ScalingRule

SetAction sets the Action field's value.

func (*ScalingRule) SetDescription added in v1.5.8

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

SetDescription sets the Description field's value.

func (*ScalingRule) SetName added in v1.5.8

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

SetName sets the Name field's value.

func (*ScalingRule) SetTrigger added in v1.5.8

func (s *ScalingRule) SetTrigger(v *ScalingTrigger) *ScalingRule

SetTrigger sets the Trigger field's value.

func (ScalingRule) String added in v1.5.8

func (s ScalingRule) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ScalingRule) Validate added in v1.5.8

func (s *ScalingRule) Validate() error

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

type ScalingTrigger added in v1.5.8

type ScalingTrigger struct {

	// The definition of a CloudWatch metric alarm. When the defined alarm conditions
	// are met along with other trigger parameters, scaling activity begins.
	//
	// CloudWatchAlarmDefinition is a required field
	CloudWatchAlarmDefinition *CloudWatchAlarmDefinition `type:"structure" required:"true"`
	// contains filtered or unexported fields
}

The conditions that trigger an automatic scaling activity.

func (ScalingTrigger) GoString added in v1.5.8

func (s ScalingTrigger) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ScalingTrigger) SetCloudWatchAlarmDefinition added in v1.5.8

func (s *ScalingTrigger) SetCloudWatchAlarmDefinition(v *CloudWatchAlarmDefinition) *ScalingTrigger

SetCloudWatchAlarmDefinition sets the CloudWatchAlarmDefinition field's value.

func (ScalingTrigger) String added in v1.5.8

func (s ScalingTrigger) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ScalingTrigger) Validate added in v1.5.8

func (s *ScalingTrigger) Validate() error

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

type ScriptBootstrapActionConfig

type ScriptBootstrapActionConfig struct {

	// A list of command line arguments to pass to the bootstrap action script.
	Args []*string `type:"list"`

	// Location in Amazon S3 of the script to run during a bootstrap action.
	//
	// Path is a required field
	Path *string `type:"string" required:"true"`
	// contains filtered or unexported fields
}

Configuration of the script to run during a bootstrap action.

func (ScriptBootstrapActionConfig) GoString added in v0.6.5

func (s ScriptBootstrapActionConfig) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ScriptBootstrapActionConfig) SetArgs added in v1.5.0

SetArgs sets the Args field's value.

func (*ScriptBootstrapActionConfig) SetPath added in v1.5.0

SetPath sets the Path field's value.

func (ScriptBootstrapActionConfig) String added in v0.6.5

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ScriptBootstrapActionConfig) Validate added in v1.1.21

func (s *ScriptBootstrapActionConfig) Validate() error

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

type SecurityConfigurationSummary added in v1.4.11

type SecurityConfigurationSummary 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"`
	// contains filtered or unexported fields
}

The creation date and time, and name, of a security configuration.

func (SecurityConfigurationSummary) GoString added in v1.4.11

func (s SecurityConfigurationSummary) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*SecurityConfigurationSummary) SetCreationDateTime added in v1.5.0

SetCreationDateTime sets the CreationDateTime field's value.

func (*SecurityConfigurationSummary) SetName added in v1.5.0

SetName sets the Name field's value.

func (SecurityConfigurationSummary) String added in v1.4.11

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type SessionMappingDetail added in v1.35.34

type SessionMappingDetail struct {

	// The time the session mapping was created.
	CreationTime *time.Time `type:"timestamp"`

	// The globally unique identifier (GUID) of the user or group.
	IdentityId *string `type:"string"`

	// The name of the user or group. For more information, see UserName (https://docs.aws.amazon.com/singlesignon/latest/IdentityStoreAPIReference/API_User.html#singlesignon-Type-User-UserName)
	// and DisplayName (https://docs.aws.amazon.com/singlesignon/latest/IdentityStoreAPIReference/API_Group.html#singlesignon-Type-Group-DisplayName)
	// in the IAM Identity Center Identity Store API Reference.
	IdentityName *string `type:"string"`

	// Specifies whether the identity mapped to the Amazon EMR Studio is a user
	// or a group.
	IdentityType *string `type:"string" enum:"IdentityType"`

	// The time the session mapping was last modified.
	LastModifiedTime *time.Time `type:"timestamp"`

	// The Amazon Resource Name (ARN) of the session policy associated with the
	// user or group.
	SessionPolicyArn *string `type:"string"`

	// The ID of the Amazon EMR Studio.
	StudioId *string `type:"string"`
	// contains filtered or unexported fields
}

Details for an Amazon EMR Studio session mapping including creation time, user or group ID, Studio ID, and so on.

func (SessionMappingDetail) GoString added in v1.35.34

func (s SessionMappingDetail) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*SessionMappingDetail) SetCreationTime added in v1.35.34

func (s *SessionMappingDetail) SetCreationTime(v time.Time) *SessionMappingDetail

SetCreationTime sets the CreationTime field's value.

func (*SessionMappingDetail) SetIdentityId added in v1.35.34

func (s *SessionMappingDetail) SetIdentityId(v string) *SessionMappingDetail

SetIdentityId sets the IdentityId field's value.

func (*SessionMappingDetail) SetIdentityName added in v1.35.34

func (s *SessionMappingDetail) SetIdentityName(v string) *SessionMappingDetail

SetIdentityName sets the IdentityName field's value.

func (*SessionMappingDetail) SetIdentityType added in v1.35.34

func (s *SessionMappingDetail) SetIdentityType(v string) *SessionMappingDetail

SetIdentityType sets the IdentityType field's value.

func (*SessionMappingDetail) SetLastModifiedTime added in v1.35.34

func (s *SessionMappingDetail) SetLastModifiedTime(v time.Time) *SessionMappingDetail

SetLastModifiedTime sets the LastModifiedTime field's value.

func (*SessionMappingDetail) SetSessionPolicyArn added in v1.35.34

func (s *SessionMappingDetail) SetSessionPolicyArn(v string) *SessionMappingDetail

SetSessionPolicyArn sets the SessionPolicyArn field's value.

func (*SessionMappingDetail) SetStudioId added in v1.35.34

SetStudioId sets the StudioId field's value.

func (SessionMappingDetail) String added in v1.35.34

func (s SessionMappingDetail) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type SessionMappingSummary added in v1.35.34

type SessionMappingSummary struct {

	// The time the session mapping was created.
	CreationTime *time.Time `type:"timestamp"`

	// The globally unique identifier (GUID) of the user or group from the IAM Identity
	// Center Identity Store.
	IdentityId *string `type:"string"`

	// The name of the user or group. For more information, see UserName (https://docs.aws.amazon.com/singlesignon/latest/IdentityStoreAPIReference/API_User.html#singlesignon-Type-User-UserName)
	// and DisplayName (https://docs.aws.amazon.com/singlesignon/latest/IdentityStoreAPIReference/API_Group.html#singlesignon-Type-Group-DisplayName)
	// in the IAM Identity Center Identity Store API Reference.
	IdentityName *string `type:"string"`

	// Specifies whether the identity mapped to the Amazon EMR Studio is a user
	// or a group.
	IdentityType *string `type:"string" enum:"IdentityType"`

	// The Amazon Resource Name (ARN) of the session policy associated with the
	// user or group.
	SessionPolicyArn *string `type:"string"`

	// The ID of the Amazon EMR Studio.
	StudioId *string `type:"string"`
	// contains filtered or unexported fields
}

Details for an Amazon EMR Studio session mapping. The details do not include the time the session mapping was last modified.

func (SessionMappingSummary) GoString added in v1.35.34

func (s SessionMappingSummary) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*SessionMappingSummary) SetCreationTime added in v1.35.34

func (s *SessionMappingSummary) SetCreationTime(v time.Time) *SessionMappingSummary

SetCreationTime sets the CreationTime field's value.

func (*SessionMappingSummary) SetIdentityId added in v1.35.34

func (s *SessionMappingSummary) SetIdentityId(v string) *SessionMappingSummary

SetIdentityId sets the IdentityId field's value.

func (*SessionMappingSummary) SetIdentityName added in v1.35.34

func (s *SessionMappingSummary) SetIdentityName(v string) *SessionMappingSummary

SetIdentityName sets the IdentityName field's value.

func (*SessionMappingSummary) SetIdentityType added in v1.35.34

func (s *SessionMappingSummary) SetIdentityType(v string) *SessionMappingSummary

SetIdentityType sets the IdentityType field's value.

func (*SessionMappingSummary) SetSessionPolicyArn added in v1.35.34

func (s *SessionMappingSummary) SetSessionPolicyArn(v string) *SessionMappingSummary

SetSessionPolicyArn sets the SessionPolicyArn field's value.

func (*SessionMappingSummary) SetStudioId added in v1.35.34

SetStudioId sets the StudioId field's value.

func (SessionMappingSummary) String added in v1.35.34

func (s SessionMappingSummary) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type SetKeepJobFlowAliveWhenNoStepsInput added in v1.49.11

type SetKeepJobFlowAliveWhenNoStepsInput struct {

	// A list of strings that uniquely identify the clusters to protect. This identifier
	// is returned by RunJobFlow (https://docs.aws.amazon.com/emr/latest/APIReference/API_RunJobFlow.html)
	// and can also be obtained from DescribeJobFlows (https://docs.aws.amazon.com/emr/latest/APIReference/API_DescribeJobFlows.html).
	//
	// JobFlowIds is a required field
	JobFlowIds []*string `type:"list" required:"true"`

	// A Boolean that indicates whether to terminate the cluster after all steps
	// are executed.
	//
	// KeepJobFlowAliveWhenNoSteps is a required field
	KeepJobFlowAliveWhenNoSteps *bool `type:"boolean" required:"true"`
	// contains filtered or unexported fields
}

func (SetKeepJobFlowAliveWhenNoStepsInput) GoString added in v1.49.11

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*SetKeepJobFlowAliveWhenNoStepsInput) SetJobFlowIds added in v1.49.11

SetJobFlowIds sets the JobFlowIds field's value.

func (*SetKeepJobFlowAliveWhenNoStepsInput) SetKeepJobFlowAliveWhenNoSteps added in v1.49.11

SetKeepJobFlowAliveWhenNoSteps sets the KeepJobFlowAliveWhenNoSteps field's value.

func (SetKeepJobFlowAliveWhenNoStepsInput) String added in v1.49.11

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*SetKeepJobFlowAliveWhenNoStepsInput) Validate added in v1.49.11

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

type SetKeepJobFlowAliveWhenNoStepsOutput added in v1.49.11

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

func (SetKeepJobFlowAliveWhenNoStepsOutput) GoString added in v1.49.11

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (SetKeepJobFlowAliveWhenNoStepsOutput) String added in v1.49.11

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type SetTerminationProtectionInput

type SetTerminationProtectionInput struct {

	// A list of strings that uniquely identify the clusters to protect. This identifier
	// is returned by RunJobFlow and can also be obtained from DescribeJobFlows .
	//
	// JobFlowIds is a required field
	JobFlowIds []*string `type:"list" required:"true"`

	// A Boolean that indicates whether to protect the cluster and prevent the Amazon
	// EC2 instances in the cluster from shutting down due to API calls, user intervention,
	// or job-flow error.
	//
	// TerminationProtected is a required field
	TerminationProtected *bool `type:"boolean" required:"true"`
	// contains filtered or unexported fields
}

The input argument to the TerminationProtection operation.

func (SetTerminationProtectionInput) GoString added in v0.6.5

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*SetTerminationProtectionInput) SetJobFlowIds added in v1.5.0

SetJobFlowIds sets the JobFlowIds field's value.

func (*SetTerminationProtectionInput) SetTerminationProtected added in v1.5.0

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

SetTerminationProtected sets the TerminationProtected field's value.

func (SetTerminationProtectionInput) String added in v0.6.5

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*SetTerminationProtectionInput) Validate added in v1.1.21

func (s *SetTerminationProtectionInput) Validate() error

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

type SetTerminationProtectionOutput

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

func (SetTerminationProtectionOutput) GoString added in v0.6.5

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (SetTerminationProtectionOutput) String added in v0.6.5

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type SetUnhealthyNodeReplacementInput added in v1.50.20

type SetUnhealthyNodeReplacementInput struct {

	// The list of strings that uniquely identify the clusters for which to turn
	// on unhealthy node replacement. You can get these identifiers by running the
	// RunJobFlow or the DescribeJobFlows operations.
	//
	// JobFlowIds is a required field
	JobFlowIds []*string `type:"list" required:"true"`

	// Indicates whether to turn on or turn off graceful unhealthy node replacement.
	//
	// UnhealthyNodeReplacement is a required field
	UnhealthyNodeReplacement *bool `type:"boolean" required:"true"`
	// contains filtered or unexported fields
}

func (SetUnhealthyNodeReplacementInput) GoString added in v1.50.20

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*SetUnhealthyNodeReplacementInput) SetJobFlowIds added in v1.50.20

SetJobFlowIds sets the JobFlowIds field's value.

func (*SetUnhealthyNodeReplacementInput) SetUnhealthyNodeReplacement added in v1.50.20

func (s *SetUnhealthyNodeReplacementInput) SetUnhealthyNodeReplacement(v bool) *SetUnhealthyNodeReplacementInput

SetUnhealthyNodeReplacement sets the UnhealthyNodeReplacement field's value.

func (SetUnhealthyNodeReplacementInput) String added in v1.50.20

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*SetUnhealthyNodeReplacementInput) Validate added in v1.50.20

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

type SetUnhealthyNodeReplacementOutput added in v1.50.20

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

func (SetUnhealthyNodeReplacementOutput) GoString added in v1.50.20

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (SetUnhealthyNodeReplacementOutput) String added in v1.50.20

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type SetVisibleToAllUsersInput

type SetVisibleToAllUsersInput struct {

	// The unique identifier of the job flow (cluster).
	//
	// JobFlowIds is a required field
	JobFlowIds []*string `type:"list" required:"true"`

	// A value of true indicates that an IAM principal in the Amazon Web Services
	// account can perform Amazon EMR actions on the cluster that the IAM policies
	// attached to the principal allow. A value of false indicates that only the
	// IAM principal that created the cluster and the Amazon Web Services root user
	// can perform Amazon EMR actions on the cluster.
	//
	// VisibleToAllUsers is a required field
	VisibleToAllUsers *bool `type:"boolean" required:"true"`
	// contains filtered or unexported fields
}

The input to the SetVisibleToAllUsers action.

func (SetVisibleToAllUsersInput) GoString added in v0.6.5

func (s SetVisibleToAllUsersInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*SetVisibleToAllUsersInput) SetJobFlowIds added in v1.5.0

SetJobFlowIds sets the JobFlowIds field's value.

func (*SetVisibleToAllUsersInput) SetVisibleToAllUsers added in v1.5.0

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

SetVisibleToAllUsers sets the VisibleToAllUsers field's value.

func (SetVisibleToAllUsersInput) String added in v0.6.5

func (s SetVisibleToAllUsersInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*SetVisibleToAllUsersInput) Validate added in v1.1.21

func (s *SetVisibleToAllUsersInput) Validate() error

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

type SetVisibleToAllUsersOutput

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

func (SetVisibleToAllUsersOutput) GoString added in v0.6.5

func (s SetVisibleToAllUsersOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (SetVisibleToAllUsersOutput) String added in v0.6.5

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type ShrinkPolicy added in v1.1.20

type ShrinkPolicy struct {

	// The desired timeout for decommissioning an instance. Overrides the default
	// YARN decommissioning timeout.
	DecommissionTimeout *int64 `type:"integer"`

	// Custom policy for requesting termination protection or termination of specific
	// instances when shrinking an instance group.
	InstanceResizePolicy *InstanceResizePolicy `type:"structure"`
	// contains filtered or unexported fields
}

Policy for customizing shrink operations. Allows configuration of decommissioning timeout and targeted instance shrinking.

func (ShrinkPolicy) GoString added in v1.1.20

func (s ShrinkPolicy) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ShrinkPolicy) SetDecommissionTimeout added in v1.5.0

func (s *ShrinkPolicy) SetDecommissionTimeout(v int64) *ShrinkPolicy

SetDecommissionTimeout sets the DecommissionTimeout field's value.

func (*ShrinkPolicy) SetInstanceResizePolicy added in v1.5.0

func (s *ShrinkPolicy) SetInstanceResizePolicy(v *InstanceResizePolicy) *ShrinkPolicy

SetInstanceResizePolicy sets the InstanceResizePolicy field's value.

func (ShrinkPolicy) String added in v1.1.20

func (s ShrinkPolicy) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type SimpleScalingPolicyConfiguration added in v1.5.8

type SimpleScalingPolicyConfiguration struct {

	// The way in which Amazon EC2 instances are added (if ScalingAdjustment is
	// a positive number) or terminated (if ScalingAdjustment is a negative number)
	// each time the scaling activity is triggered. CHANGE_IN_CAPACITY is the default.
	// CHANGE_IN_CAPACITY indicates that the Amazon EC2 instance count increments
	// or decrements by ScalingAdjustment, which should be expressed as an integer.
	// PERCENT_CHANGE_IN_CAPACITY indicates the instance count increments or decrements
	// by the percentage specified by ScalingAdjustment, which should be expressed
	// as an integer. For example, 20 indicates an increase in 20% increments of
	// cluster capacity. EXACT_CAPACITY indicates the scaling activity results in
	// an instance group with the number of Amazon EC2 instances specified by ScalingAdjustment,
	// which should be expressed as a positive integer.
	AdjustmentType *string `type:"string" enum:"AdjustmentType"`

	// The amount of time, in seconds, after a scaling activity completes before
	// any further trigger-related scaling activities can start. The default value
	// is 0.
	CoolDown *int64 `type:"integer"`

	// The amount by which to scale in or scale out, based on the specified AdjustmentType.
	// A positive value adds to the instance group's Amazon EC2 instance count while
	// a negative number removes instances. If AdjustmentType is set to EXACT_CAPACITY,
	// the number should only be a positive integer. If AdjustmentType is set to
	// PERCENT_CHANGE_IN_CAPACITY, the value should express the percentage as an
	// integer. For example, -20 indicates a decrease in 20% increments of cluster
	// capacity.
	//
	// ScalingAdjustment is a required field
	ScalingAdjustment *int64 `type:"integer" required:"true"`
	// contains filtered or unexported fields
}

An automatic scaling configuration, which describes how the policy adds or removes instances, the cooldown period, and the number of Amazon EC2 instances that will be added each time the CloudWatch metric alarm condition is satisfied.

func (SimpleScalingPolicyConfiguration) GoString added in v1.5.8

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*SimpleScalingPolicyConfiguration) SetAdjustmentType added in v1.5.8

SetAdjustmentType sets the AdjustmentType field's value.

func (*SimpleScalingPolicyConfiguration) SetCoolDown added in v1.5.8

SetCoolDown sets the CoolDown field's value.

func (*SimpleScalingPolicyConfiguration) SetScalingAdjustment added in v1.5.8

SetScalingAdjustment sets the ScalingAdjustment field's value.

func (SimpleScalingPolicyConfiguration) String added in v1.5.8

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*SimpleScalingPolicyConfiguration) Validate added in v1.5.8

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

type SimplifiedApplication added in v1.40.5

type SimplifiedApplication struct {

	// The returned release label application name. For example, hadoop.
	Name *string `type:"string"`

	// The returned release label application version. For example, 3.2.1.
	Version *string `type:"string"`
	// contains filtered or unexported fields
}

The returned release label application names or versions.

func (SimplifiedApplication) GoString added in v1.40.5

func (s SimplifiedApplication) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*SimplifiedApplication) SetName added in v1.40.5

SetName sets the Name field's value.

func (*SimplifiedApplication) SetVersion added in v1.40.5

SetVersion sets the Version field's value.

func (SimplifiedApplication) String added in v1.40.5

func (s SimplifiedApplication) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type SpotProvisioningSpecification added in v1.7.8

type SpotProvisioningSpecification struct {

	// Specifies one of the following strategies to launch Spot Instance fleets:
	// price-capacity-optimized, capacity-optimized, lowest-price, or diversified.
	// For more information on the provisioning strategies, see Allocation strategies
	// for Spot Instances (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-fleet-allocation-strategy.html)
	// in the Amazon EC2 User Guide for Linux Instances.
	//
	// When you launch a Spot Instance fleet with the old console, it automatically
	// launches with the capacity-optimized strategy. You can't change the allocation
	// strategy from the old console.
	AllocationStrategy *string `type:"string" enum:"SpotProvisioningAllocationStrategy"`

	// The defined duration for Spot Instances (also known as Spot blocks) in minutes.
	// When specified, the Spot Instance does not terminate before the defined duration
	// expires, and defined duration pricing for Spot Instances applies. Valid values
	// are 60, 120, 180, 240, 300, or 360. The duration period starts as soon as
	// a Spot Instance receives its instance ID. At the end of the duration, Amazon
	// EC2 marks the Spot Instance for termination and provides a Spot Instance
	// termination notice, which gives the instance a two-minute warning before
	// it terminates.
	//
	// Spot Instances with a defined duration (also known as Spot blocks) are no
	// longer available to new customers from July 1, 2021. For customers who have
	// previously used the feature, we will continue to support Spot Instances with
	// a defined duration until December 31, 2022.
	BlockDurationMinutes *int64 `type:"integer"`

	// The action to take when TargetSpotCapacity has not been fulfilled when the
	// TimeoutDurationMinutes has expired; that is, when all Spot Instances could
	// not be provisioned within the Spot provisioning timeout. Valid values are
	// TERMINATE_CLUSTER and SWITCH_TO_ON_DEMAND. SWITCH_TO_ON_DEMAND specifies
	// that if no Spot Instances are available, On-Demand Instances should be provisioned
	// to fulfill any remaining Spot capacity.
	//
	// TimeoutAction is a required field
	TimeoutAction *string `type:"string" required:"true" enum:"SpotProvisioningTimeoutAction"`

	// The Spot provisioning timeout period in minutes. If Spot Instances are not
	// provisioned within this time period, the TimeOutAction is taken. Minimum
	// value is 5 and maximum value is 1440. The timeout applies only during initial
	// provisioning, when the cluster is first created.
	//
	// TimeoutDurationMinutes is a required field
	TimeoutDurationMinutes *int64 `type:"integer" required:"true"`
	// contains filtered or unexported fields
}

The launch specification for Spot Instances in the instance fleet, which determines the defined duration, provisioning timeout behavior, and allocation strategy.

The instance fleet configuration is available only in Amazon EMR releases 4.8.0 and later, excluding 5.0.x versions. Spot Instance allocation strategy is available in Amazon EMR releases 5.12.1 and later.

Spot Instances with a defined duration (also known as Spot blocks) are no longer available to new customers from July 1, 2021. For customers who have previously used the feature, we will continue to support Spot Instances with a defined duration until December 31, 2022.

func (SpotProvisioningSpecification) GoString added in v1.7.8

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*SpotProvisioningSpecification) SetAllocationStrategy added in v1.32.9

SetAllocationStrategy sets the AllocationStrategy field's value.

func (*SpotProvisioningSpecification) SetBlockDurationMinutes added in v1.7.8

func (s *SpotProvisioningSpecification) SetBlockDurationMinutes(v int64) *SpotProvisioningSpecification

SetBlockDurationMinutes sets the BlockDurationMinutes field's value.

func (*SpotProvisioningSpecification) SetTimeoutAction added in v1.7.8

SetTimeoutAction sets the TimeoutAction field's value.

func (*SpotProvisioningSpecification) SetTimeoutDurationMinutes added in v1.7.8

func (s *SpotProvisioningSpecification) SetTimeoutDurationMinutes(v int64) *SpotProvisioningSpecification

SetTimeoutDurationMinutes sets the TimeoutDurationMinutes field's value.

func (SpotProvisioningSpecification) String added in v1.7.8

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*SpotProvisioningSpecification) Validate added in v1.7.8

func (s *SpotProvisioningSpecification) Validate() error

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

type SpotResizingSpecification added in v1.44.203

type SpotResizingSpecification struct {

	// Spot resize timeout in minutes. If Spot Instances are not provisioned within
	// this time, the resize workflow will stop provisioning of Spot instances.
	// Minimum value is 5 minutes and maximum value is 10,080 minutes (7 days).
	// The timeout applies to all resize workflows on the Instance Fleet. The resize
	// could be triggered by Amazon EMR Managed Scaling or by the customer (via
	// Amazon EMR Console, Amazon EMR CLI modify-instance-fleet or Amazon EMR SDK
	// ModifyInstanceFleet API) or by Amazon EMR due to Amazon EC2 Spot Reclamation.
	//
	// TimeoutDurationMinutes is a required field
	TimeoutDurationMinutes *int64 `type:"integer" required:"true"`
	// contains filtered or unexported fields
}

The resize specification for Spot Instances in the instance fleet, which contains the resize timeout period.

func (SpotResizingSpecification) GoString added in v1.44.203

func (s SpotResizingSpecification) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*SpotResizingSpecification) SetTimeoutDurationMinutes added in v1.44.203

func (s *SpotResizingSpecification) SetTimeoutDurationMinutes(v int64) *SpotResizingSpecification

SetTimeoutDurationMinutes sets the TimeoutDurationMinutes field's value.

func (SpotResizingSpecification) String added in v1.44.203

func (s SpotResizingSpecification) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*SpotResizingSpecification) Validate added in v1.44.203

func (s *SpotResizingSpecification) Validate() error

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

type StartNotebookExecutionInput added in v1.34.13

type StartNotebookExecutionInput struct {

	// The unique identifier of the Amazon EMR Notebook to use for notebook execution.
	EditorId *string `type:"string"`

	// The environment variables associated with the notebook execution.
	EnvironmentVariables map[string]*string `type:"map"`

	// Specifies the execution engine (cluster) that runs the notebook execution.
	//
	// ExecutionEngine is a required field
	ExecutionEngine *ExecutionEngineConfig `type:"structure" required:"true"`

	// An optional name for the notebook execution.
	NotebookExecutionName *string `type:"string"`

	// The unique identifier of the Amazon EC2 security group to associate with
	// the Amazon EMR Notebook for this notebook execution.
	NotebookInstanceSecurityGroupId *string `type:"string"`

	// Input parameters in JSON format passed to the Amazon EMR Notebook at runtime
	// for execution.
	NotebookParams *string `type:"string"`

	// The Amazon S3 location for the notebook execution input.
	NotebookS3Location *NotebookS3LocationFromInput_ `type:"structure"`

	// The output format for the notebook execution.
	OutputNotebookFormat *string `type:"string" enum:"OutputNotebookFormat"`

	// The Amazon S3 location for the notebook execution output.
	OutputNotebookS3Location *OutputNotebookS3LocationFromInput_ `type:"structure"`

	// The path and file name of the notebook file for this execution, relative
	// to the path specified for the Amazon EMR Notebook. For example, if you specify
	// a path of s3://MyBucket/MyNotebooks when you create an Amazon EMR Notebook
	// for a notebook with an ID of e-ABCDEFGHIJK1234567890ABCD (the EditorID of
	// this request), and you specify a RelativePath of my_notebook_executions/notebook_execution.ipynb,
	// the location of the file for the notebook execution is s3://MyBucket/MyNotebooks/e-ABCDEFGHIJK1234567890ABCD/my_notebook_executions/notebook_execution.ipynb.
	RelativePath *string `type:"string"`

	// The name or ARN of the IAM role that is used as the service role for Amazon
	// EMR (the Amazon EMR role) for the notebook execution.
	//
	// ServiceRole is a required field
	ServiceRole *string `type:"string" required:"true"`

	// A list of tags associated with a notebook execution. 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 []*Tag `type:"list"`
	// contains filtered or unexported fields
}

func (StartNotebookExecutionInput) GoString added in v1.34.13

func (s StartNotebookExecutionInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*StartNotebookExecutionInput) SetEditorId added in v1.34.13

SetEditorId sets the EditorId field's value.

func (*StartNotebookExecutionInput) SetEnvironmentVariables added in v1.44.261

func (s *StartNotebookExecutionInput) SetEnvironmentVariables(v map[string]*string) *StartNotebookExecutionInput

SetEnvironmentVariables sets the EnvironmentVariables field's value.

func (*StartNotebookExecutionInput) SetExecutionEngine added in v1.34.13

SetExecutionEngine sets the ExecutionEngine field's value.

func (*StartNotebookExecutionInput) SetNotebookExecutionName added in v1.34.13

func (s *StartNotebookExecutionInput) SetNotebookExecutionName(v string) *StartNotebookExecutionInput

SetNotebookExecutionName sets the NotebookExecutionName field's value.

func (*StartNotebookExecutionInput) SetNotebookInstanceSecurityGroupId added in v1.34.13

func (s *StartNotebookExecutionInput) SetNotebookInstanceSecurityGroupId(v string) *StartNotebookExecutionInput

SetNotebookInstanceSecurityGroupId sets the NotebookInstanceSecurityGroupId field's value.

func (*StartNotebookExecutionInput) SetNotebookParams added in v1.34.13

SetNotebookParams sets the NotebookParams field's value.

func (*StartNotebookExecutionInput) SetNotebookS3Location added in v1.44.261

SetNotebookS3Location sets the NotebookS3Location field's value.

func (*StartNotebookExecutionInput) SetOutputNotebookFormat added in v1.44.261

func (s *StartNotebookExecutionInput) SetOutputNotebookFormat(v string) *StartNotebookExecutionInput

SetOutputNotebookFormat sets the OutputNotebookFormat field's value.

func (*StartNotebookExecutionInput) SetOutputNotebookS3Location added in v1.44.261

SetOutputNotebookS3Location sets the OutputNotebookS3Location field's value.

func (*StartNotebookExecutionInput) SetRelativePath added in v1.34.13

SetRelativePath sets the RelativePath field's value.

func (*StartNotebookExecutionInput) SetServiceRole added in v1.34.13

SetServiceRole sets the ServiceRole field's value.

func (*StartNotebookExecutionInput) SetTags added in v1.34.13

SetTags sets the Tags field's value.

func (StartNotebookExecutionInput) String added in v1.34.13

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*StartNotebookExecutionInput) Validate added in v1.34.13

func (s *StartNotebookExecutionInput) Validate() error

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

type StartNotebookExecutionOutput added in v1.34.13

type StartNotebookExecutionOutput struct {

	// The unique identifier of the notebook execution.
	NotebookExecutionId *string `type:"string"`
	// contains filtered or unexported fields
}

func (StartNotebookExecutionOutput) GoString added in v1.34.13

func (s StartNotebookExecutionOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*StartNotebookExecutionOutput) SetNotebookExecutionId added in v1.34.13

SetNotebookExecutionId sets the NotebookExecutionId field's value.

func (StartNotebookExecutionOutput) String added in v1.34.13

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type Step

type Step struct {

	// The action to take when the cluster step fails. Possible values are TERMINATE_CLUSTER,
	// CANCEL_AND_WAIT, and CONTINUE. TERMINATE_JOB_FLOW is provided for backward
	// compatibility. We recommend using TERMINATE_CLUSTER instead.
	//
	// If a cluster's StepConcurrencyLevel is greater than 1, do not use AddJobFlowSteps
	// to submit a step with this parameter set to CANCEL_AND_WAIT or TERMINATE_CLUSTER.
	// The step is not submitted and the action fails with a message that the ActionOnFailure
	// setting is not valid.
	//
	// If you change a cluster's StepConcurrencyLevel to be greater than 1 while
	// a step is running, the ActionOnFailure parameter may not behave as you expect.
	// In this case, for a step that fails with this parameter set to CANCEL_AND_WAIT,
	// pending steps and the running step are not canceled; for a step that fails
	// with this parameter set to TERMINATE_CLUSTER, the cluster does not terminate.
	ActionOnFailure *string `type:"string" enum:"ActionOnFailure"`

	// The Hadoop job configuration of the cluster step.
	Config *HadoopStepConfig `type:"structure"`

	// The Amazon Resource Name (ARN) of the runtime role for a step on the cluster.
	// The runtime role can be a cross-account IAM role. The runtime role ARN is
	// a combination of account ID, role name, and role type using the following
	// format: arn:partition:service:region:account:resource.
	//
	// For example, arn:aws:IAM::1234567890:role/ReadOnly is a correctly formatted
	// runtime role ARN.
	ExecutionRoleArn *string `type:"string"`

	// The identifier of the cluster step.
	Id *string `type:"string"`

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

	// The current execution status details of the cluster step.
	Status *StepStatus `type:"structure"`
	// contains filtered or unexported fields
}

This represents a step in a cluster.

func (Step) GoString added in v0.6.5

func (s Step) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*Step) SetActionOnFailure added in v1.5.0

func (s *Step) SetActionOnFailure(v string) *Step

SetActionOnFailure sets the ActionOnFailure field's value.

func (*Step) SetConfig added in v1.5.0

func (s *Step) SetConfig(v *HadoopStepConfig) *Step

SetConfig sets the Config field's value.

func (*Step) SetExecutionRoleArn added in v1.44.46

func (s *Step) SetExecutionRoleArn(v string) *Step

SetExecutionRoleArn sets the ExecutionRoleArn field's value.

func (*Step) SetId added in v1.5.0

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

SetId sets the Id field's value.

func (*Step) SetName added in v1.5.0

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

SetName sets the Name field's value.

func (*Step) SetStatus added in v1.5.0

func (s *Step) SetStatus(v *StepStatus) *Step

SetStatus sets the Status field's value.

func (Step) String added in v0.6.5

func (s Step) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type StepConfig

type StepConfig struct {

	// The action to take when the step fails. Use one of the following values:
	//
	//    * TERMINATE_CLUSTER - Shuts down the cluster.
	//
	//    * CANCEL_AND_WAIT - Cancels any pending steps and returns the cluster
	//    to the WAITING state.
	//
	//    * CONTINUE - Continues to the next step in the queue.
	//
	//    * TERMINATE_JOB_FLOW - Shuts down the cluster. TERMINATE_JOB_FLOW is provided
	//    for backward compatibility. We recommend using TERMINATE_CLUSTER instead.
	//
	// If a cluster's StepConcurrencyLevel is greater than 1, do not use AddJobFlowSteps
	// to submit a step with this parameter set to CANCEL_AND_WAIT or TERMINATE_CLUSTER.
	// The step is not submitted and the action fails with a message that the ActionOnFailure
	// setting is not valid.
	//
	// If you change a cluster's StepConcurrencyLevel to be greater than 1 while
	// a step is running, the ActionOnFailure parameter may not behave as you expect.
	// In this case, for a step that fails with this parameter set to CANCEL_AND_WAIT,
	// pending steps and the running step are not canceled; for a step that fails
	// with this parameter set to TERMINATE_CLUSTER, the cluster does not terminate.
	ActionOnFailure *string `type:"string" enum:"ActionOnFailure"`

	// The JAR file used for the step.
	//
	// HadoopJarStep is a required field
	HadoopJarStep *HadoopJarStepConfig `type:"structure" required:"true"`

	// The name of the step.
	//
	// Name is a required field
	Name *string `type:"string" required:"true"`
	// contains filtered or unexported fields
}

Specification for a cluster (job flow) step.

func (StepConfig) GoString added in v0.6.5

func (s StepConfig) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*StepConfig) SetActionOnFailure added in v1.5.0

func (s *StepConfig) SetActionOnFailure(v string) *StepConfig

SetActionOnFailure sets the ActionOnFailure field's value.

func (*StepConfig) SetHadoopJarStep added in v1.5.0

func (s *StepConfig) SetHadoopJarStep(v *HadoopJarStepConfig) *StepConfig

SetHadoopJarStep sets the HadoopJarStep field's value.

func (*StepConfig) SetName added in v1.5.0

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

SetName sets the Name field's value.

func (StepConfig) String added in v0.6.5

func (s StepConfig) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*StepConfig) Validate added in v1.1.21

func (s *StepConfig) Validate() error

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

type StepDetail

type StepDetail struct {

	// The description of the step status.
	//
	// ExecutionStatusDetail is a required field
	ExecutionStatusDetail *StepExecutionStatusDetail `type:"structure" required:"true"`

	// The step configuration.
	//
	// StepConfig is a required field
	StepConfig *StepConfig `type:"structure" required:"true"`
	// contains filtered or unexported fields
}

Combines the execution state and configuration of a step.

func (StepDetail) GoString added in v0.6.5

func (s StepDetail) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*StepDetail) SetExecutionStatusDetail added in v1.5.0

func (s *StepDetail) SetExecutionStatusDetail(v *StepExecutionStatusDetail) *StepDetail

SetExecutionStatusDetail sets the ExecutionStatusDetail field's value.

func (*StepDetail) SetStepConfig added in v1.5.0

func (s *StepDetail) SetStepConfig(v *StepConfig) *StepDetail

SetStepConfig sets the StepConfig field's value.

func (StepDetail) String added in v0.6.5

func (s StepDetail) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type StepExecutionStatusDetail

type StepExecutionStatusDetail struct {

	// The creation date and time of the step.
	//
	// CreationDateTime is a required field
	CreationDateTime *time.Time `type:"timestamp" required:"true"`

	// The completion date and time of the step.
	EndDateTime *time.Time `type:"timestamp"`

	// A description of the step's current state.
	LastStateChangeReason *string `type:"string"`

	// The start date and time of the step.
	StartDateTime *time.Time `type:"timestamp"`

	// The state of the step.
	//
	// State is a required field
	State *string `type:"string" required:"true" enum:"StepExecutionState"`
	// contains filtered or unexported fields
}

The execution state of a step.

func (StepExecutionStatusDetail) GoString added in v0.6.5

func (s StepExecutionStatusDetail) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*StepExecutionStatusDetail) SetCreationDateTime added in v1.5.0

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

SetCreationDateTime sets the CreationDateTime field's value.

func (*StepExecutionStatusDetail) SetEndDateTime added in v1.5.0

SetEndDateTime sets the EndDateTime field's value.

func (*StepExecutionStatusDetail) SetLastStateChangeReason added in v1.5.0

func (s *StepExecutionStatusDetail) SetLastStateChangeReason(v string) *StepExecutionStatusDetail

SetLastStateChangeReason sets the LastStateChangeReason field's value.

func (*StepExecutionStatusDetail) SetStartDateTime added in v1.5.0

SetStartDateTime sets the StartDateTime field's value.

func (*StepExecutionStatusDetail) SetState added in v1.5.0

SetState sets the State field's value.

func (StepExecutionStatusDetail) String added in v0.6.5

func (s StepExecutionStatusDetail) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type StepStateChangeReason

type StepStateChangeReason struct {

	// The programmable code for the state change reason. Note: Currently, the service
	// provides no code for the state change.
	Code *string `type:"string" enum:"StepStateChangeReasonCode"`

	// The descriptive message for the state change reason.
	Message *string `type:"string"`
	// contains filtered or unexported fields
}

The details of the step state change reason.

func (StepStateChangeReason) GoString added in v0.6.5

func (s StepStateChangeReason) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*StepStateChangeReason) SetCode added in v1.5.0

SetCode sets the Code field's value.

func (*StepStateChangeReason) SetMessage added in v1.5.0

SetMessage sets the Message field's value.

func (StepStateChangeReason) String added in v0.6.5

func (s StepStateChangeReason) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type StepStatus

type StepStatus struct {

	// The details for the step failure including reason, message, and log file
	// path where the root cause was identified.
	FailureDetails *FailureDetails `type:"structure"`

	// The execution state of the cluster step.
	State *string `type:"string" enum:"StepState"`

	// The reason for the step execution status change.
	StateChangeReason *StepStateChangeReason `type:"structure"`

	// The timeline of the cluster step status over time.
	Timeline *StepTimeline `type:"structure"`
	// contains filtered or unexported fields
}

The execution status details of the cluster step.

func (StepStatus) GoString added in v0.6.5

func (s StepStatus) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*StepStatus) SetFailureDetails added in v1.5.0

func (s *StepStatus) SetFailureDetails(v *FailureDetails) *StepStatus

SetFailureDetails sets the FailureDetails field's value.

func (*StepStatus) SetState added in v1.5.0

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

SetState sets the State field's value.

func (*StepStatus) SetStateChangeReason added in v1.5.0

func (s *StepStatus) SetStateChangeReason(v *StepStateChangeReason) *StepStatus

SetStateChangeReason sets the StateChangeReason field's value.

func (*StepStatus) SetTimeline added in v1.5.0

func (s *StepStatus) SetTimeline(v *StepTimeline) *StepStatus

SetTimeline sets the Timeline field's value.

func (StepStatus) String added in v0.6.5

func (s StepStatus) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type StepSummary

type StepSummary struct {

	// The action to take when the cluster step fails. Possible values are TERMINATE_CLUSTER,
	// CANCEL_AND_WAIT, and CONTINUE. TERMINATE_JOB_FLOW is available for backward
	// compatibility.
	ActionOnFailure *string `type:"string" enum:"ActionOnFailure"`

	// The Hadoop job configuration of the cluster step.
	Config *HadoopStepConfig `type:"structure"`

	// The identifier of the cluster step.
	Id *string `type:"string"`

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

	// The current execution status details of the cluster step.
	Status *StepStatus `type:"structure"`
	// contains filtered or unexported fields
}

The summary of the cluster step.

func (StepSummary) GoString added in v0.6.5

func (s StepSummary) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*StepSummary) SetActionOnFailure added in v1.5.0

func (s *StepSummary) SetActionOnFailure(v string) *StepSummary

SetActionOnFailure sets the ActionOnFailure field's value.

func (*StepSummary) SetConfig added in v1.5.0

func (s *StepSummary) SetConfig(v *HadoopStepConfig) *StepSummary

SetConfig sets the Config field's value.

func (*StepSummary) SetId added in v1.5.0

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

SetId sets the Id field's value.

func (*StepSummary) SetName added in v1.5.0

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

SetName sets the Name field's value.

func (*StepSummary) SetStatus added in v1.5.0

func (s *StepSummary) SetStatus(v *StepStatus) *StepSummary

SetStatus sets the Status field's value.

func (StepSummary) String added in v0.6.5

func (s StepSummary) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type StepTimeline

type StepTimeline struct {

	// The date and time when the cluster step was created.
	CreationDateTime *time.Time `type:"timestamp"`

	// The date and time when the cluster step execution completed or failed.
	EndDateTime *time.Time `type:"timestamp"`

	// The date and time when the cluster step execution started.
	StartDateTime *time.Time `type:"timestamp"`
	// contains filtered or unexported fields
}

The timeline of the cluster step lifecycle.

func (StepTimeline) GoString added in v0.6.5

func (s StepTimeline) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*StepTimeline) SetCreationDateTime added in v1.5.0

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

SetCreationDateTime sets the CreationDateTime field's value.

func (*StepTimeline) SetEndDateTime added in v1.5.0

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

SetEndDateTime sets the EndDateTime field's value.

func (*StepTimeline) SetStartDateTime added in v1.5.0

func (s *StepTimeline) SetStartDateTime(v time.Time) *StepTimeline

SetStartDateTime sets the StartDateTime field's value.

func (StepTimeline) String added in v0.6.5

func (s StepTimeline) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type StopNotebookExecutionInput added in v1.34.13

type StopNotebookExecutionInput struct {

	// The unique identifier of the notebook execution.
	//
	// NotebookExecutionId is a required field
	NotebookExecutionId *string `type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (StopNotebookExecutionInput) GoString added in v1.34.13

func (s StopNotebookExecutionInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*StopNotebookExecutionInput) SetNotebookExecutionId added in v1.34.13

func (s *StopNotebookExecutionInput) SetNotebookExecutionId(v string) *StopNotebookExecutionInput

SetNotebookExecutionId sets the NotebookExecutionId field's value.

func (StopNotebookExecutionInput) String added in v1.34.13

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*StopNotebookExecutionInput) Validate added in v1.34.13

func (s *StopNotebookExecutionInput) Validate() error

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

type StopNotebookExecutionOutput added in v1.34.13

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

func (StopNotebookExecutionOutput) GoString added in v1.34.13

func (s StopNotebookExecutionOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (StopNotebookExecutionOutput) String added in v1.34.13

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type Studio added in v1.35.34

type Studio struct {

	// Specifies whether the Amazon EMR Studio authenticates users with IAM or IAM
	// Identity Center.
	AuthMode *string `type:"string" enum:"AuthMode"`

	// The time the Amazon EMR Studio was created.
	CreationTime *time.Time `type:"timestamp"`

	// The Amazon S3 location to back up Amazon EMR Studio Workspaces and notebook
	// files.
	DefaultS3Location *string `type:"string"`

	// The detailed description of the Amazon EMR Studio.
	Description *string `type:"string"`

	// The KMS key identifier (ARN) used to encrypt Amazon EMR Studio workspace
	// and notebook files when backed up to Amazon S3.
	EncryptionKeyArn *string `type:"string"`

	// The ID of the Engine security group associated with the Amazon EMR Studio.
	// The Engine security group allows inbound network traffic from resources in
	// the Workspace security group.
	EngineSecurityGroupId *string `type:"string"`

	// The ARN of the IAM Identity Center instance the Studio application belongs
	// to.
	IdcInstanceArn *string `min:"20" type:"string"`

	// Indicates whether the Studio has REQUIRED or OPTIONAL IAM Identity Center
	// user assignment. If the value is set to REQUIRED, users must be explicitly
	// assigned to the Studio application to access the Studio.
	IdcUserAssignment *string `type:"string" enum:"IdcUserAssignment"`

	// Your identity provider's authentication endpoint. Amazon EMR Studio redirects
	// federated users to this endpoint for authentication when logging in to a
	// Studio with the Studio URL.
	IdpAuthUrl *string `type:"string"`

	// The name of your identity provider's RelayState parameter.
	IdpRelayStateParameterName *string `type:"string"`

	// The name of the Amazon EMR Studio.
	Name *string `type:"string"`

	// The name of the IAM role assumed by the Amazon EMR Studio.
	ServiceRole *string `type:"string"`

	// The Amazon Resource Name (ARN) of the Amazon EMR Studio.
	StudioArn *string `type:"string"`

	// The ID of the Amazon EMR Studio.
	StudioId *string `type:"string"`

	// The list of IDs of the subnets associated with the Amazon EMR Studio.
	SubnetIds []*string `type:"list"`

	// A list of tags associated with the Amazon EMR Studio.
	Tags []*Tag `type:"list"`

	// Indicates whether the Studio has Trusted identity propagation enabled. The
	// default value is false.
	TrustedIdentityPropagationEnabled *bool `type:"boolean"`

	// The unique access URL of the Amazon EMR Studio.
	Url *string `type:"string"`

	// The name of the IAM role assumed by users logged in to the Amazon EMR Studio.
	// A Studio only requires a UserRole when you use IAM authentication.
	UserRole *string `type:"string"`

	// The ID of the VPC associated with the Amazon EMR Studio.
	VpcId *string `type:"string"`

	// The ID of the Workspace security group associated with the Amazon EMR Studio.
	// The Workspace security group allows outbound network traffic to resources
	// in the Engine security group and to the internet.
	WorkspaceSecurityGroupId *string `type:"string"`
	// contains filtered or unexported fields
}

Details for an Amazon EMR Studio including ID, creation time, name, and so on.

func (Studio) GoString added in v1.35.34

func (s Studio) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*Studio) SetAuthMode added in v1.35.34

func (s *Studio) SetAuthMode(v string) *Studio

SetAuthMode sets the AuthMode field's value.

func (*Studio) SetCreationTime added in v1.35.34

func (s *Studio) SetCreationTime(v time.Time) *Studio

SetCreationTime sets the CreationTime field's value.

func (*Studio) SetDefaultS3Location added in v1.35.34

func (s *Studio) SetDefaultS3Location(v string) *Studio

SetDefaultS3Location sets the DefaultS3Location field's value.

func (*Studio) SetDescription added in v1.35.34

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

SetDescription sets the Description field's value.

func (*Studio) SetEncryptionKeyArn added in v1.48.0

func (s *Studio) SetEncryptionKeyArn(v string) *Studio

SetEncryptionKeyArn sets the EncryptionKeyArn field's value.

func (*Studio) SetEngineSecurityGroupId added in v1.35.34

func (s *Studio) SetEngineSecurityGroupId(v string) *Studio

SetEngineSecurityGroupId sets the EngineSecurityGroupId field's value.

func (*Studio) SetIdcInstanceArn added in v1.48.0

func (s *Studio) SetIdcInstanceArn(v string) *Studio

SetIdcInstanceArn sets the IdcInstanceArn field's value.

func (*Studio) SetIdcUserAssignment added in v1.48.0

func (s *Studio) SetIdcUserAssignment(v string) *Studio

SetIdcUserAssignment sets the IdcUserAssignment field's value.

func (*Studio) SetIdpAuthUrl added in v1.40.40

func (s *Studio) SetIdpAuthUrl(v string) *Studio

SetIdpAuthUrl sets the IdpAuthUrl field's value.

func (*Studio) SetIdpRelayStateParameterName added in v1.40.40

func (s *Studio) SetIdpRelayStateParameterName(v string) *Studio

SetIdpRelayStateParameterName sets the IdpRelayStateParameterName field's value.

func (*Studio) SetName added in v1.35.34

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

SetName sets the Name field's value.

func (*Studio) SetServiceRole added in v1.35.34

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

SetServiceRole sets the ServiceRole field's value.

func (*Studio) SetStudioArn added in v1.35.34

func (s *Studio) SetStudioArn(v string) *Studio

SetStudioArn sets the StudioArn field's value.

func (*Studio) SetStudioId added in v1.35.34

func (s *Studio) SetStudioId(v string) *Studio

SetStudioId sets the StudioId field's value.

func (*Studio) SetSubnetIds added in v1.35.34

func (s *Studio) SetSubnetIds(v []*string) *Studio

SetSubnetIds sets the SubnetIds field's value.

func (*Studio) SetTags added in v1.35.34

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

SetTags sets the Tags field's value.

func (*Studio) SetTrustedIdentityPropagationEnabled added in v1.48.0

func (s *Studio) SetTrustedIdentityPropagationEnabled(v bool) *Studio

SetTrustedIdentityPropagationEnabled sets the TrustedIdentityPropagationEnabled field's value.

func (*Studio) SetUrl added in v1.35.34

func (s *Studio) SetUrl(v string) *Studio

SetUrl sets the Url field's value.

func (*Studio) SetUserRole added in v1.35.34

func (s *Studio) SetUserRole(v string) *Studio

SetUserRole sets the UserRole field's value.

func (*Studio) SetVpcId added in v1.35.34

func (s *Studio) SetVpcId(v string) *Studio

SetVpcId sets the VpcId field's value.

func (*Studio) SetWorkspaceSecurityGroupId added in v1.35.34

func (s *Studio) SetWorkspaceSecurityGroupId(v string) *Studio

SetWorkspaceSecurityGroupId sets the WorkspaceSecurityGroupId field's value.

func (Studio) String added in v1.35.34

func (s Studio) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type StudioSummary added in v1.35.34

type StudioSummary struct {

	// Specifies whether the Studio authenticates users using IAM or IAM Identity
	// Center.
	AuthMode *string `type:"string" enum:"AuthMode"`

	// The time when the Amazon EMR Studio was created.
	CreationTime *time.Time `type:"timestamp"`

	// The detailed description of the Amazon EMR Studio.
	Description *string `type:"string"`

	// The name of the Amazon EMR Studio.
	Name *string `type:"string"`

	// The ID of the Amazon EMR Studio.
	StudioId *string `type:"string"`

	// The unique access URL of the Amazon EMR Studio.
	Url *string `type:"string"`

	// The ID of the Virtual Private Cloud (Amazon VPC) associated with the Amazon
	// EMR Studio.
	VpcId *string `type:"string"`
	// contains filtered or unexported fields
}

Details for an Amazon EMR Studio, including ID, Name, VPC, and Description. To fetch additional details such as subnets, IAM roles, security groups, and tags for the Studio, use the DescribeStudio API.

func (StudioSummary) GoString added in v1.35.34

func (s StudioSummary) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*StudioSummary) SetAuthMode added in v1.40.40

func (s *StudioSummary) SetAuthMode(v string) *StudioSummary

SetAuthMode sets the AuthMode field's value.

func (*StudioSummary) SetCreationTime added in v1.35.34

func (s *StudioSummary) SetCreationTime(v time.Time) *StudioSummary

SetCreationTime sets the CreationTime field's value.

func (*StudioSummary) SetDescription added in v1.35.34

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

SetDescription sets the Description field's value.

func (*StudioSummary) SetName added in v1.35.34

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

SetName sets the Name field's value.

func (*StudioSummary) SetStudioId added in v1.35.34

func (s *StudioSummary) SetStudioId(v string) *StudioSummary

SetStudioId sets the StudioId field's value.

func (*StudioSummary) SetUrl added in v1.35.34

func (s *StudioSummary) SetUrl(v string) *StudioSummary

SetUrl sets the Url field's value.

func (*StudioSummary) SetVpcId added in v1.35.34

func (s *StudioSummary) SetVpcId(v string) *StudioSummary

SetVpcId sets the VpcId field's value.

func (StudioSummary) String added in v1.35.34

func (s StudioSummary) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type SupportedInstanceType added in v1.44.287

type SupportedInstanceType struct {

	// The CPU architecture, for example X86_64 or AARCH64.
	Architecture *string `type:"string"`

	// Indicates whether the SupportedInstanceType supports Amazon EBS optimization.
	EbsOptimizedAvailable *bool `type:"boolean"`

	// Indicates whether the SupportedInstanceType uses Amazon EBS optimization
	// by default.
	EbsOptimizedByDefault *bool `type:"boolean"`

	// Indicates whether the SupportedInstanceType only supports Amazon EBS.
	EbsStorageOnly *bool `type:"boolean"`

	// The Amazon EC2 family and generation for the SupportedInstanceType.
	InstanceFamilyId *string `type:"string"`

	// Indicates whether the SupportedInstanceType only supports 64-bit architecture.
	Is64BitsOnly *bool `type:"boolean"`

	// The amount of memory that is available to Amazon EMR from the SupportedInstanceType.
	// The kernel and hypervisor software consume some memory, so this value might
	// be lower than the overall memory for the instance type.
	MemoryGB *float64 `type:"float"`

	// Number of disks for the SupportedInstanceType. This value is 0 for Amazon
	// EBS-only instance types.
	NumberOfDisks *int64 `type:"integer"`

	// StorageGB represents the storage capacity of the SupportedInstanceType. This
	// value is 0 for Amazon EBS-only instance types.
	StorageGB *int64 `type:"integer"`

	// The Amazon EC2 instance type (http://aws.amazon.com/ec2/instance-types/),
	// for example m5.xlarge, of the SupportedInstanceType.
	Type *string `type:"string"`

	// The number of vCPUs available for the SupportedInstanceType.
	VCPU *int64 `type:"integer"`
	// contains filtered or unexported fields
}

An instance type that the specified Amazon EMR release supports.

func (SupportedInstanceType) GoString added in v1.44.287

func (s SupportedInstanceType) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*SupportedInstanceType) SetArchitecture added in v1.44.287

func (s *SupportedInstanceType) SetArchitecture(v string) *SupportedInstanceType

SetArchitecture sets the Architecture field's value.

func (*SupportedInstanceType) SetEbsOptimizedAvailable added in v1.44.287

func (s *SupportedInstanceType) SetEbsOptimizedAvailable(v bool) *SupportedInstanceType

SetEbsOptimizedAvailable sets the EbsOptimizedAvailable field's value.

func (*SupportedInstanceType) SetEbsOptimizedByDefault added in v1.44.287

func (s *SupportedInstanceType) SetEbsOptimizedByDefault(v bool) *SupportedInstanceType

SetEbsOptimizedByDefault sets the EbsOptimizedByDefault field's value.

func (*SupportedInstanceType) SetEbsStorageOnly added in v1.44.287

func (s *SupportedInstanceType) SetEbsStorageOnly(v bool) *SupportedInstanceType

SetEbsStorageOnly sets the EbsStorageOnly field's value.

func (*SupportedInstanceType) SetInstanceFamilyId added in v1.44.287

func (s *SupportedInstanceType) SetInstanceFamilyId(v string) *SupportedInstanceType

SetInstanceFamilyId sets the InstanceFamilyId field's value.

func (*SupportedInstanceType) SetIs64BitsOnly added in v1.44.287

func (s *SupportedInstanceType) SetIs64BitsOnly(v bool) *SupportedInstanceType

SetIs64BitsOnly sets the Is64BitsOnly field's value.

func (*SupportedInstanceType) SetMemoryGB added in v1.44.287

SetMemoryGB sets the MemoryGB field's value.

func (*SupportedInstanceType) SetNumberOfDisks added in v1.44.287

func (s *SupportedInstanceType) SetNumberOfDisks(v int64) *SupportedInstanceType

SetNumberOfDisks sets the NumberOfDisks field's value.

func (*SupportedInstanceType) SetStorageGB added in v1.44.287

SetStorageGB sets the StorageGB field's value.

func (*SupportedInstanceType) SetType added in v1.44.287

SetType sets the Type field's value.

func (*SupportedInstanceType) SetVCPU added in v1.44.287

SetVCPU sets the VCPU field's value.

func (SupportedInstanceType) String added in v1.44.287

func (s SupportedInstanceType) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type SupportedProductConfig

type SupportedProductConfig struct {

	// The list of user-supplied arguments.
	Args []*string `type:"list"`

	// The name of the product configuration.
	Name *string `type:"string"`
	// contains filtered or unexported fields
}

The list of supported product configurations that allow user-supplied arguments. Amazon EMR accepts these arguments and forwards them to the corresponding installation script as bootstrap action arguments.

func (SupportedProductConfig) GoString added in v0.6.5

func (s SupportedProductConfig) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*SupportedProductConfig) SetArgs added in v1.5.0

SetArgs sets the Args field's value.

func (*SupportedProductConfig) SetName added in v1.5.0

SetName sets the Name field's value.

func (SupportedProductConfig) String added in v0.6.5

func (s SupportedProductConfig) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type Tag

type Tag struct {

	// A user-defined key, which is the minimum required information for a valid
	// tag. For more information, see Tag (https://docs.aws.amazon.com/emr/latest/ManagementGuide/emr-plan-tags.html).
	Key *string `type:"string"`

	// A user-defined value, which is optional in a tag. For more information, see
	// Tag Clusters (https://docs.aws.amazon.com/emr/latest/ManagementGuide/emr-plan-tags.html).
	Value *string `type:"string"`
	// contains filtered or unexported fields
}

A key-value pair containing user-defined metadata that you can associate with an Amazon EMR resource. Tags make it easier to associate clusters in various ways, such as grouping 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).

func (Tag) GoString added in v0.6.5

func (s Tag) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*Tag) SetKey added in v1.5.0

func (s *Tag) SetKey(v string) *Tag

SetKey sets the Key field's value.

func (*Tag) SetValue added in v1.5.0

func (s *Tag) SetValue(v string) *Tag

SetValue sets the Value field's value.

func (Tag) String added in v0.6.5

func (s Tag) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type TerminateJobFlowsInput

type TerminateJobFlowsInput struct {

	// A list of job flows to be shut down.
	//
	// JobFlowIds is a required field
	JobFlowIds []*string `type:"list" required:"true"`
	// contains filtered or unexported fields
}

Input to the TerminateJobFlows operation.

func (TerminateJobFlowsInput) GoString added in v0.6.5

func (s TerminateJobFlowsInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*TerminateJobFlowsInput) SetJobFlowIds added in v1.5.0

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

SetJobFlowIds sets the JobFlowIds field's value.

func (TerminateJobFlowsInput) String added in v0.6.5

func (s TerminateJobFlowsInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*TerminateJobFlowsInput) Validate added in v1.1.21

func (s *TerminateJobFlowsInput) Validate() error

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

type TerminateJobFlowsOutput

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

func (TerminateJobFlowsOutput) GoString added in v0.6.5

func (s TerminateJobFlowsOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (TerminateJobFlowsOutput) String added in v0.6.5

func (s TerminateJobFlowsOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type UpdateStudioInput added in v1.37.20

type UpdateStudioInput struct {

	// The Amazon S3 location to back up Workspaces and notebook files for the Amazon
	// EMR Studio.
	DefaultS3Location *string `type:"string"`

	// A detailed description to assign to the Amazon EMR Studio.
	Description *string `type:"string"`

	// The KMS key identifier (ARN) used to encrypt Amazon EMR Studio workspace
	// and notebook files when backed up to Amazon S3.
	EncryptionKeyArn *string `type:"string"`

	// A descriptive name for the Amazon EMR Studio.
	Name *string `type:"string"`

	// The ID of the Amazon EMR Studio to update.
	//
	// StudioId is a required field
	StudioId *string `type:"string" required:"true"`

	// A list of subnet IDs to associate with the Amazon EMR Studio. The list can
	// include new subnet IDs, but must also include all of the subnet IDs previously
	// associated with the Studio. The list order does not matter. A Studio can
	// have a maximum of 5 subnets. The subnets must belong to the same VPC as the
	// Studio.
	SubnetIds []*string `type:"list"`
	// contains filtered or unexported fields
}

func (UpdateStudioInput) GoString added in v1.37.20

func (s UpdateStudioInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*UpdateStudioInput) SetDefaultS3Location added in v1.37.20

func (s *UpdateStudioInput) SetDefaultS3Location(v string) *UpdateStudioInput

SetDefaultS3Location sets the DefaultS3Location field's value.

func (*UpdateStudioInput) SetDescription added in v1.37.20

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

SetDescription sets the Description field's value.

func (*UpdateStudioInput) SetEncryptionKeyArn added in v1.48.0

func (s *UpdateStudioInput) SetEncryptionKeyArn(v string) *UpdateStudioInput

SetEncryptionKeyArn sets the EncryptionKeyArn field's value.

func (*UpdateStudioInput) SetName added in v1.37.20

SetName sets the Name field's value.

func (*UpdateStudioInput) SetStudioId added in v1.37.20

func (s *UpdateStudioInput) SetStudioId(v string) *UpdateStudioInput

SetStudioId sets the StudioId field's value.

func (*UpdateStudioInput) SetSubnetIds added in v1.37.20

func (s *UpdateStudioInput) SetSubnetIds(v []*string) *UpdateStudioInput

SetSubnetIds sets the SubnetIds field's value.

func (UpdateStudioInput) String added in v1.37.20

func (s UpdateStudioInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*UpdateStudioInput) Validate added in v1.37.20

func (s *UpdateStudioInput) Validate() error

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

type UpdateStudioOutput added in v1.37.20

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

func (UpdateStudioOutput) GoString added in v1.37.20

func (s UpdateStudioOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (UpdateStudioOutput) String added in v1.37.20

func (s UpdateStudioOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type UpdateStudioSessionMappingInput added in v1.35.34

type UpdateStudioSessionMappingInput struct {

	// The globally unique identifier (GUID) of the user or group. For more information,
	// see UserId (https://docs.aws.amazon.com/singlesignon/latest/IdentityStoreAPIReference/API_User.html#singlesignon-Type-User-UserId)
	// and GroupId (https://docs.aws.amazon.com/singlesignon/latest/IdentityStoreAPIReference/API_Group.html#singlesignon-Type-Group-GroupId)
	// in the IAM Identity Center Identity Store API Reference. Either IdentityName
	// or IdentityId must be specified.
	IdentityId *string `type:"string"`

	// The name of the user or group to update. For more information, see UserName
	// (https://docs.aws.amazon.com/singlesignon/latest/IdentityStoreAPIReference/API_User.html#singlesignon-Type-User-UserName)
	// and DisplayName (https://docs.aws.amazon.com/singlesignon/latest/IdentityStoreAPIReference/API_Group.html#singlesignon-Type-Group-DisplayName)
	// in the IAM Identity Center Identity Store API Reference. Either IdentityName
	// or IdentityId must be specified.
	IdentityName *string `type:"string"`

	// Specifies whether the identity to update is a user or a group.
	//
	// IdentityType is a required field
	IdentityType *string `type:"string" required:"true" enum:"IdentityType"`

	// The Amazon Resource Name (ARN) of the session policy to associate with the
	// specified user or group.
	//
	// SessionPolicyArn is a required field
	SessionPolicyArn *string `type:"string" required:"true"`

	// The ID of the Amazon EMR Studio.
	//
	// StudioId is a required field
	StudioId *string `type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (UpdateStudioSessionMappingInput) GoString added in v1.35.34

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*UpdateStudioSessionMappingInput) SetIdentityId added in v1.35.34

SetIdentityId sets the IdentityId field's value.

func (*UpdateStudioSessionMappingInput) SetIdentityName added in v1.35.34

SetIdentityName sets the IdentityName field's value.

func (*UpdateStudioSessionMappingInput) SetIdentityType added in v1.35.34

SetIdentityType sets the IdentityType field's value.

func (*UpdateStudioSessionMappingInput) SetSessionPolicyArn added in v1.35.34

SetSessionPolicyArn sets the SessionPolicyArn field's value.

func (*UpdateStudioSessionMappingInput) SetStudioId added in v1.35.34

SetStudioId sets the StudioId field's value.

func (UpdateStudioSessionMappingInput) String added in v1.35.34

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*UpdateStudioSessionMappingInput) Validate added in v1.35.34

func (s *UpdateStudioSessionMappingInput) Validate() error

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

type UpdateStudioSessionMappingOutput added in v1.35.34

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

func (UpdateStudioSessionMappingOutput) GoString added in v1.35.34

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (UpdateStudioSessionMappingOutput) String added in v1.35.34

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type UsernamePassword added in v1.44.170

type UsernamePassword struct {

	// The password associated with the temporary credentials that you use to connect
	// to cluster endpoints.
	Password *string `type:"string"`

	// The username associated with the temporary credentials that you use to connect
	// to cluster endpoints.
	Username *string `type:"string"`
	// contains filtered or unexported fields
}

The username and password that you use to connect to cluster endpoints.

func (UsernamePassword) GoString added in v1.44.170

func (s UsernamePassword) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*UsernamePassword) SetPassword added in v1.44.170

func (s *UsernamePassword) SetPassword(v string) *UsernamePassword

SetPassword sets the Password field's value.

func (*UsernamePassword) SetUsername added in v1.44.170

func (s *UsernamePassword) SetUsername(v string) *UsernamePassword

SetUsername sets the Username field's value.

func (UsernamePassword) String added in v1.44.170

func (s UsernamePassword) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type VolumeSpecification added in v1.1.3

type VolumeSpecification struct {

	// The number of I/O operations per second (IOPS) that the volume supports.
	Iops *int64 `type:"integer"`

	// The volume size, in gibibytes (GiB). This can be a number from 1 - 1024.
	// If the volume type is EBS-optimized, the minimum value is 10.
	//
	// SizeInGB is a required field
	SizeInGB *int64 `type:"integer" required:"true"`

	// The throughput, in mebibyte per second (MiB/s). This optional parameter can
	// be a number from 125 - 1000 and is valid only for gp3 volumes.
	Throughput *int64 `type:"integer"`

	// The volume type. Volume types supported are gp3, gp2, io1, st1, sc1, and
	// standard.
	//
	// VolumeType is a required field
	VolumeType *string `type:"string" required:"true"`
	// contains filtered or unexported fields
}

EBS volume specifications such as volume type, IOPS, size (GiB) and throughput (MiB/s) that are requested for the EBS volume attached to an Amazon EC2 instance in the cluster.

func (VolumeSpecification) GoString added in v1.1.3

func (s VolumeSpecification) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*VolumeSpecification) SetIops added in v1.5.0

SetIops sets the Iops field's value.

func (*VolumeSpecification) SetSizeInGB added in v1.5.0

func (s *VolumeSpecification) SetSizeInGB(v int64) *VolumeSpecification

SetSizeInGB sets the SizeInGB field's value.

func (*VolumeSpecification) SetThroughput added in v1.44.45

func (s *VolumeSpecification) SetThroughput(v int64) *VolumeSpecification

SetThroughput sets the Throughput field's value.

func (*VolumeSpecification) SetVolumeType added in v1.5.0

func (s *VolumeSpecification) SetVolumeType(v string) *VolumeSpecification

SetVolumeType sets the VolumeType field's value.

func (VolumeSpecification) String added in v1.1.3

func (s VolumeSpecification) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*VolumeSpecification) Validate added in v1.1.21

func (s *VolumeSpecification) Validate() error

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

Directories

Path Synopsis
Package emriface provides an interface to enable mocking the Amazon EMR service client for testing your code.
Package emriface provides an interface to enable mocking the Amazon EMR service client for testing your code.

Jump to

Keyboard shortcuts

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