

기계 번역으로 제공되는 번역입니다. 제공된 번역과 원본 영어의 내용이 상충하는 경우에는 영어 버전이 우선합니다.

# 일정 보기(AWS CLI)
<a name="viewing-schedule-using-cli"></a>

 AWS CLI 를 사용하여 현재 한 채널의 일정에 있는 작업 목록을 볼 수 있습니다.
+ 채널에서 아직 실행되지 않은 작업
+ 이전에 수행된 작업 

일정을 보려면 `DescribeSchedule` 명령을 사용합니다. 이 명령은 인터페이스마다 다르게 표현됩니다.
+ 에서 AWS CLI명령은 입니다`describe-schedule`.
+ API에서 이 명령은 `channels/channelId/schedule`에 `HTTP GET`으로 표시됩니다.
+  AWS SDKs에서 명령은 해당 SDK 언어에 적합한 구문으로 표시됩니다.

**작업을 보려면(AWS CLI)**

1. 이 명령을 입력합니다.

   **aws medialive describe-schedule --channel-id *value* --max-results value**

1. 명령을 제출하려면 **Enter**를 누릅니다. 응답이 화면에 나타납니다.

1. `-max-results` 옵션을 사용했으며 응답에 `NextToken`이 포함된 경우 **DescribeChannel** 명령을 입력하고 `--next-token`에 `NextToken`의 값을 전달합니다. 예제:

   **aws medialive describe-schedule --channel-id *value* --next-token 3jhrprd0**

1. 명령을 제출하려면 **Enter**를 누릅니다. 응답이 화면에 나타납니다.

## 예제
<a name="viewing-schedule-using-cli-example"></a>

명령 *응답*의 JSON 본문은 `BatchUpdateSchedule` 명령 *요청*의 JSON 본문과 유사합니다.

다음 응답 예제는 다음 작업을 보여줍니다.
+ `ActionName`이 **corporate-logo-029**이고 20:30:00 UTC에 계층 1에서 이미지 오버레이를 활성화하는 작업
+ `ActionName`이 **stop-overlay-029**이고 20:42:04 UTC에 계층 1에서 이미지 오버레이를 비활성화하는 작업
+ `ActionName`이 **adavail-3708**이고 비활성화와 동시에 splice\$1insert를 삽입하는 작업
+ `ActionName`이 **end-adavail-3708**이고 20:42:19 UTC에 15초 이후 네트워크로 복귀하는 작업
+ `ActionName`이 **corporate-logo-030**이고 복귀와 동시에 계층 1에서 동일 오버레이를 다시 활성화하는 작업

이 일정은 일반적으로 회사 로고를 표시하는 워크플로를 설명하지만, 각 광고 가능 구간 시작 시 회사 로고를 제거하고 나서 광고 가능 구간이 끝날 때 다시 표시할 수 있습니다.

```
 {
  "NextToken": "3jhrprd0",
      "ScheduleActions": [
      {
        "ScheduleActionStartSettings": {
          "FixedModeScheduleActionStartSettings": {
            "Time": "2018-05-21T20:30:00.000Z"
          }
        },
        "ActionName": "corporate-logo-029",
        "ScheduleActionSettings": {
          "StaticImageActivateSettings": {
            "Image": {
            "PasswordParam": "corplogo!2312",
            "Uri": "s3ssl://amzn-s3-demo-bucket/logos/corporate/high-res.bmp",
            "Username": "medialiveoperator"
            },
            "ImageY": 300,
            "FadeIn": 1500,
            "ImageX": 200,
            "Width": 800,
            "Opacity": 60,
            "Layer": 1,
            "Height": 900
          }
        }
      },
      {
        "ScheduleActionStartSettings": {
          "FixedModeScheduleActionStartSettings": {
            "Time": "2018-05-21T20:42:04.000Z"
          }
        },
        "ActionName": " stop-overlay-029",
        "ScheduleActionSettings": {
          "StaticImageDeactivateSettings": {
            "FadeOut": 1500,
            "Layer": 1
          }
        }
      },
      {
        "ScheduleActionStartSettings": {
          "FixedModeScheduleActionStartSettings": {
            "Time": "2018-05-21T20:42:04.000Z"
          }
        },
        "ActionName": "adavail-3708",
        "ScheduleActionSettings": {
          "Scte35SpliceInsertSettings": {
            "SpliceEventId": 3708,
            "Duration": 1350000
          }
        }
      },
      {
        "ScheduleActionStartSettings": {
          "FixedModeScheduleActionStartSettings": {
            "Time": "2018-05-21T20:42:19.000Z"
          }
        },
        "ActionName": "end-adavail-3708",
        "ScheduleActionSettings": {
          "Scte35ReturnToNetworkSettings": {
            "SpliceEventId": 3708
          }
        }
      },
      {
        "ScheduleActionStartSettings": {
          "FixedModeScheduleActionStartSettings": {
            "Time": "2018-05-21T20:42:19.000Z"
          }
        },
        "ActionName": "corporate-logo-030",
        "ScheduleActionSettings": {
          "StaticImageActivateSettings": {
            "Image": {
            "PasswordParam": "corplogo!2312",
            "Uri": "s3ssl://amzn-s3-demo-bucket/logos/corporate/high-res.bmp",
            "Username": "medialiveoperator"
            },
            "ImageY": 300,
            "FadeIn": 1500,
            "ImageX": 200,
            "Width": 800,
            "Opacity": 60,
            "Layer": 1,
            "Height": 900
          }
        }
      }
    ]   
  }
```