| Copyright | (c) 2013-2023 Brendan Hay | 
|---|---|
| License | Mozilla Public License, v. 2.0. | 
| Maintainer | Brendan Hay | 
| Stability | auto-generated | 
| Portability | non-portable (GHC extensions) | 
| Safe Haskell | Safe-Inferred | 
| Language | Haskell2010 | 
Amazonka.Scheduler.GetScheduleGroup
Description
Retrieves the specified schedule group.
Synopsis
- data GetScheduleGroup = GetScheduleGroup' {}
 - newGetScheduleGroup :: Text -> GetScheduleGroup
 - getScheduleGroup_name :: Lens' GetScheduleGroup Text
 - data GetScheduleGroupResponse = GetScheduleGroupResponse' {}
 - newGetScheduleGroupResponse :: Int -> GetScheduleGroupResponse
 - getScheduleGroupResponse_arn :: Lens' GetScheduleGroupResponse (Maybe Text)
 - getScheduleGroupResponse_creationDate :: Lens' GetScheduleGroupResponse (Maybe UTCTime)
 - getScheduleGroupResponse_lastModificationDate :: Lens' GetScheduleGroupResponse (Maybe UTCTime)
 - getScheduleGroupResponse_name :: Lens' GetScheduleGroupResponse (Maybe Text)
 - getScheduleGroupResponse_state :: Lens' GetScheduleGroupResponse (Maybe ScheduleGroupState)
 - getScheduleGroupResponse_httpStatus :: Lens' GetScheduleGroupResponse Int
 
Creating a Request
data GetScheduleGroup Source #
See: newGetScheduleGroup smart constructor.
Constructors
| GetScheduleGroup' | |
Instances
Arguments
| :: Text | |
| -> GetScheduleGroup | 
Create a value of GetScheduleGroup with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
GetScheduleGroup, getScheduleGroup_name - The name of the schedule group to retrieve.
Request Lenses
getScheduleGroup_name :: Lens' GetScheduleGroup Text Source #
The name of the schedule group to retrieve.
Destructuring the Response
data GetScheduleGroupResponse Source #
See: newGetScheduleGroupResponse smart constructor.
Constructors
| GetScheduleGroupResponse' | |
Fields 
  | |
Instances
newGetScheduleGroupResponse Source #
Create a value of GetScheduleGroupResponse with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
GetScheduleGroupResponse, getScheduleGroupResponse_arn - The Amazon Resource Name (ARN) of the schedule group.
GetScheduleGroupResponse, getScheduleGroupResponse_creationDate - The time at which the schedule group was created.
GetScheduleGroupResponse, getScheduleGroupResponse_lastModificationDate - The time at which the schedule group was last modified.
GetScheduleGroup, getScheduleGroupResponse_name - The name of the schedule group.
GetScheduleGroupResponse, getScheduleGroupResponse_state - Specifies the state of the schedule group.
$sel:httpStatus:GetScheduleGroupResponse', getScheduleGroupResponse_httpStatus - The response's http status code.
Response Lenses
getScheduleGroupResponse_arn :: Lens' GetScheduleGroupResponse (Maybe Text) Source #
The Amazon Resource Name (ARN) of the schedule group.
getScheduleGroupResponse_creationDate :: Lens' GetScheduleGroupResponse (Maybe UTCTime) Source #
The time at which the schedule group was created.
getScheduleGroupResponse_lastModificationDate :: Lens' GetScheduleGroupResponse (Maybe UTCTime) Source #
The time at which the schedule group was last modified.
getScheduleGroupResponse_name :: Lens' GetScheduleGroupResponse (Maybe Text) Source #
The name of the schedule group.
getScheduleGroupResponse_state :: Lens' GetScheduleGroupResponse (Maybe ScheduleGroupState) Source #
Specifies the state of the schedule group.
getScheduleGroupResponse_httpStatus :: Lens' GetScheduleGroupResponse Int Source #
The response's http status code.