Table of Contents
A low-level client representing Amazon DevOps Guru
import boto3
client = boto3.client('devops-guru')
These are the available methods:
See also: AWS API Documentation
Request Syntax
response = client.add_notification_channel(
    Config={
        'Sns': {
            'TopicArn': 'string'
        }
    }
)
[REQUIRED]
{
    'Id': 'string'
}
Response Structure
Exceptions
Check if an operation can be paginated.
See also: AWS API Documentation
Request Syntax
response = client.describe_account_health()
{
    'MetricsAnalyzed': 123,
    'OpenProactiveInsights': 123,
    'OpenReactiveInsights': 123
}
Response Structure
Exceptions
See also: AWS API Documentation
Request Syntax
response = client.describe_account_overview(
    FromTime=datetime(2015, 1, 1),
    ToTime=datetime(2015, 1, 1)
)
dict
Response Syntax
{
    'MeanTimeToRecoverInMilliseconds': 123,
    'ProactiveInsights': 123,
    'ReactiveInsights': 123
}
Response Structure
Exceptions
See also: AWS API Documentation
Request Syntax
response = client.describe_anomaly(
    Id='string'
)
{
    'ProactiveAnomaly': {
        'AnomalyTimeRange': {
            'EndTime': datetime(2015, 1, 1),
            'StartTime': datetime(2015, 1, 1)
        },
        'AssociatedInsightId': 'string',
        'Id': 'string',
        'Limit': 123.0,
        'PredictionTimeRange': {
            'EndTime': datetime(2015, 1, 1),
            'StartTime': datetime(2015, 1, 1)
        },
        'ResourceCollection': {
            'CloudFormation': {
                'StackNames': [
                    'string',
                ]
            }
        },
        'Severity': 'LOW'|'MEDIUM'|'HIGH',
        'SourceDetails': {
            'CloudWatchMetrics': [
                {
                    'Dimensions': [
                        {
                            'Name': 'string',
                            'Value': 'string'
                        },
                    ],
                    'MetricName': 'string',
                    'Namespace': 'string',
                    'Period': 123,
                    'Stat': 'Sum'|'Average'|'SampleCount'|'Minimum'|'Maximum'|'p99'|'p90'|'p50',
                    'Unit': 'string'
                },
            ]
        },
        'Status': 'ONGOING'|'CLOSED',
        'UpdateTime': datetime(2015, 1, 1)
    },
    'ReactiveAnomaly': {
        'AnomalyTimeRange': {
            'EndTime': datetime(2015, 1, 1),
            'StartTime': datetime(2015, 1, 1)
        },
        'AssociatedInsightId': 'string',
        'Id': 'string',
        'ResourceCollection': {
            'CloudFormation': {
                'StackNames': [
                    'string',
                ]
            }
        },
        'Severity': 'LOW'|'MEDIUM'|'HIGH',
        'SourceDetails': {
            'CloudWatchMetrics': [
                {
                    'Dimensions': [
                        {
                            'Name': 'string',
                            'Value': 'string'
                        },
                    ],
                    'MetricName': 'string',
                    'Namespace': 'string',
                    'Period': 123,
                    'Stat': 'Sum'|'Average'|'SampleCount'|'Minimum'|'Maximum'|'p99'|'p90'|'p50',
                    'Unit': 'string'
                },
            ]
        },
        'Status': 'ONGOING'|'CLOSED'
    }
}
Response Structure
Exceptions
See also: AWS API Documentation
Request Syntax
response = client.describe_insight(
    Id='string'
)
{
    'ProactiveInsight': {
        'Id': 'string',
        'InsightTimeRange': {
            'EndTime': datetime(2015, 1, 1),
            'StartTime': datetime(2015, 1, 1)
        },
        'Name': 'string',
        'PredictionTimeRange': {
            'EndTime': datetime(2015, 1, 1),
            'StartTime': datetime(2015, 1, 1)
        },
        'ResourceCollection': {
            'CloudFormation': {
                'StackNames': [
                    'string',
                ]
            }
        },
        'Severity': 'LOW'|'MEDIUM'|'HIGH',
        'SsmOpsItemId': 'string',
        'Status': 'ONGOING'|'CLOSED'
    },
    'ReactiveInsight': {
        'Id': 'string',
        'InsightTimeRange': {
            'EndTime': datetime(2015, 1, 1),
            'StartTime': datetime(2015, 1, 1)
        },
        'Name': 'string',
        'ResourceCollection': {
            'CloudFormation': {
                'StackNames': [
                    'string',
                ]
            }
        },
        'Severity': 'LOW'|'MEDIUM'|'HIGH',
        'SsmOpsItemId': 'string',
        'Status': 'ONGOING'|'CLOSED'
    }
}
Response Structure
Exceptions
See also: AWS API Documentation
Request Syntax
response = client.describe_resource_collection_health(
    NextToken='string',
    ResourceCollectionType='string'
)
dict
Response Syntax
{
    'CloudFormation': [
        {
            'Insight': {
                'MeanTimeToRecoverInMilliseconds': 123,
                'OpenProactiveInsights': 123,
                'OpenReactiveInsights': 123
            },
            'StackName': 'string'
        },
    ],
    'NextToken': 'string'
}
Response Structure
Exceptions
See also: AWS API Documentation
Request Syntax
response = client.describe_service_integration()
{
    'ServiceIntegration': {
        'OpsCenter': {
            'OptInStatus': 'ENABLED'|'DISABLED'
        }
    }
}
Response Structure
Exceptions
Generate a presigned url given a client, its method, and arguments
The presigned url
Create a paginator for an operation.
See also: AWS API Documentation
Request Syntax
response = client.get_resource_collection(
    NextToken='string',
    ResourceCollectionType='string'
)
dict
Response Syntax
{
    'NextToken': 'string',
    'ResourceCollection': {
        'CloudFormation': {
            'StackNames': [
                'string',
            ]
        }
    }
}
Response Structure
Exceptions
Returns an object that can wait for some condition.
See also: AWS API Documentation
Request Syntax
response = client.list_anomalies_for_insight(
    InsightId='string',
    MaxResults=123,
    NextToken='string',
    StartTimeRange={
        'FromTime': datetime(2015, 1, 1),
        'ToTime': datetime(2015, 1, 1)
    }
)
dict
Response Syntax
{
    'NextToken': 'string',
    'ProactiveAnomalies': [
        {
            'AnomalyTimeRange': {
                'EndTime': datetime(2015, 1, 1),
                'StartTime': datetime(2015, 1, 1)
            },
            'AssociatedInsightId': 'string',
            'Id': 'string',
            'Limit': 123.0,
            'PredictionTimeRange': {
                'EndTime': datetime(2015, 1, 1),
                'StartTime': datetime(2015, 1, 1)
            },
            'ResourceCollection': {
                'CloudFormation': {
                    'StackNames': [
                        'string',
                    ]
                }
            },
            'Severity': 'LOW'|'MEDIUM'|'HIGH',
            'SourceDetails': {
                'CloudWatchMetrics': [
                    {
                        'Dimensions': [
                            {
                                'Name': 'string',
                                'Value': 'string'
                            },
                        ],
                        'MetricName': 'string',
                        'Namespace': 'string',
                        'Period': 123,
                        'Stat': 'Sum'|'Average'|'SampleCount'|'Minimum'|'Maximum'|'p99'|'p90'|'p50',
                        'Unit': 'string'
                    },
                ]
            },
            'Status': 'ONGOING'|'CLOSED',
            'UpdateTime': datetime(2015, 1, 1)
        },
    ],
    'ReactiveAnomalies': [
        {
            'AnomalyTimeRange': {
                'EndTime': datetime(2015, 1, 1),
                'StartTime': datetime(2015, 1, 1)
            },
            'AssociatedInsightId': 'string',
            'Id': 'string',
            'ResourceCollection': {
                'CloudFormation': {
                    'StackNames': [
                        'string',
                    ]
                }
            },
            'Severity': 'LOW'|'MEDIUM'|'HIGH',
            'SourceDetails': {
                'CloudWatchMetrics': [
                    {
                        'Dimensions': [
                            {
                                'Name': 'string',
                                'Value': 'string'
                            },
                        ],
                        'MetricName': 'string',
                        'Namespace': 'string',
                        'Period': 123,
                        'Stat': 'Sum'|'Average'|'SampleCount'|'Minimum'|'Maximum'|'p99'|'p90'|'p50',
                        'Unit': 'string'
                    },
                ]
            },
            'Status': 'ONGOING'|'CLOSED'
        },
    ]
}
Response Structure
Exceptions
See also: AWS API Documentation
Request Syntax
response = client.list_events(
    Filters={
        'DataSource': 'AWS_CLOUD_TRAIL'|'AWS_CODE_DEPLOY',
        'EventClass': 'INFRASTRUCTURE'|'DEPLOYMENT'|'SECURITY_CHANGE'|'CONFIG_CHANGE'|'SCHEMA_CHANGE',
        'EventSource': 'string',
        'EventTimeRange': {
            'FromTime': datetime(2015, 1, 1),
            'ToTime': datetime(2015, 1, 1)
        },
        'InsightId': 'string',
        'ResourceCollection': {
            'CloudFormation': {
                'StackNames': [
                    'string',
                ]
            }
        }
    },
    MaxResults=123,
    NextToken='string'
)
[REQUIRED]
dict
Response Syntax
{
    'Events': [
        {
            'DataSource': 'AWS_CLOUD_TRAIL'|'AWS_CODE_DEPLOY',
            'EventClass': 'INFRASTRUCTURE'|'DEPLOYMENT'|'SECURITY_CHANGE'|'CONFIG_CHANGE'|'SCHEMA_CHANGE',
            'EventSource': 'string',
            'Id': 'string',
            'Name': 'string',
            'ResourceCollection': {
                'CloudFormation': {
                    'StackNames': [
                        'string',
                    ]
                }
            },
            'Resources': [
                {
                    'Arn': 'string',
                    'Name': 'string',
                    'Type': 'string'
                },
            ],
            'Time': datetime(2015, 1, 1)
        },
    ],
    'NextToken': 'string'
}
Response Structure
Exceptions
See also: AWS API Documentation
Request Syntax
response = client.list_insights(
    MaxResults=123,
    NextToken='string',
    StatusFilter={
        'Any': {
            'StartTimeRange': {
                'FromTime': datetime(2015, 1, 1),
                'ToTime': datetime(2015, 1, 1)
            },
            'Type': 'REACTIVE'|'PROACTIVE'
        },
        'Closed': {
            'EndTimeRange': {
                'FromTime': datetime(2015, 1, 1),
                'ToTime': datetime(2015, 1, 1)
            },
            'Type': 'REACTIVE'|'PROACTIVE'
        },
        'Ongoing': {
            'Type': 'REACTIVE'|'PROACTIVE'
        }
    }
)
[REQUIRED]
dict
Response Syntax
{
    'NextToken': 'string',
    'ProactiveInsights': [
        {
            'Id': 'string',
            'InsightTimeRange': {
                'EndTime': datetime(2015, 1, 1),
                'StartTime': datetime(2015, 1, 1)
            },
            'Name': 'string',
            'PredictionTimeRange': {
                'EndTime': datetime(2015, 1, 1),
                'StartTime': datetime(2015, 1, 1)
            },
            'ResourceCollection': {
                'CloudFormation': {
                    'StackNames': [
                        'string',
                    ]
                }
            },
            'Severity': 'LOW'|'MEDIUM'|'HIGH',
            'Status': 'ONGOING'|'CLOSED'
        },
    ],
    'ReactiveInsights': [
        {
            'Id': 'string',
            'InsightTimeRange': {
                'EndTime': datetime(2015, 1, 1),
                'StartTime': datetime(2015, 1, 1)
            },
            'Name': 'string',
            'ResourceCollection': {
                'CloudFormation': {
                    'StackNames': [
                        'string',
                    ]
                }
            },
            'Severity': 'LOW'|'MEDIUM'|'HIGH',
            'Status': 'ONGOING'|'CLOSED'
        },
    ]
}
Response Structure
Exceptions
See also: AWS API Documentation
Request Syntax
response = client.list_notification_channels(
    NextToken='string'
)
{
    'Channels': [
        {
            'Config': {
                'Sns': {
                    'TopicArn': 'string'
                }
            },
            'Id': 'string'
        },
    ],
    'NextToken': 'string'
}
Response Structure
Exceptions
See also: AWS API Documentation
Request Syntax
response = client.list_recommendations(
    InsightId='string',
    NextToken='string'
)
dict
Response Syntax
{
    'NextToken': 'string',
    'Recommendations': [
        {
            'Description': 'string',
            'Link': 'string',
            'Name': 'string',
            'Reason': 'string',
            'RelatedAnomalies': [
                {
                    'Resources': [
                        {
                            'Name': 'string',
                            'Type': 'string'
                        },
                    ],
                    'SourceDetails': [
                        {
                            'CloudWatchMetrics': [
                                {
                                    'MetricName': 'string',
                                    'Namespace': 'string'
                                },
                            ]
                        },
                    ]
                },
            ],
            'RelatedEvents': [
                {
                    'Name': 'string',
                    'Resources': [
                        {
                            'Name': 'string',
                            'Type': 'string'
                        },
                    ]
                },
            ]
        },
    ]
}
Response Structure
Exceptions
See also: AWS API Documentation
Request Syntax
response = client.put_feedback(
    InsightFeedback={
        'Feedback': 'VALID_COLLECTION'|'RECOMMENDATION_USEFUL'|'ALERT_TOO_SENSITIVE'|'DATA_NOISY_ANOMALY'|'DATA_INCORRECT',
        'Id': 'string'
    }
)
{}
Response Structure
Exceptions
See also: AWS API Documentation
Request Syntax
response = client.remove_notification_channel(
    Id='string'
)
{}
Response Structure
Exceptions
See also: AWS API Documentation
Request Syntax
response = client.search_insights(
    Filters={
        'ResourceCollection': {
            'CloudFormation': {
                'StackNames': [
                    'string',
                ]
            }
        },
        'Severities': [
            'LOW'|'MEDIUM'|'HIGH',
        ],
        'Statuses': [
            'ONGOING'|'CLOSED',
        ]
    },
    MaxResults=123,
    NextToken='string',
    StartTimeRange={
        'FromTime': datetime(2015, 1, 1),
        'ToTime': datetime(2015, 1, 1)
    },
    Type='REACTIVE'|'PROACTIVE'
)
[REQUIRED]
dict
Response Syntax
{
    'NextToken': 'string',
    'ProactiveInsights': [
        {
            'Id': 'string',
            'InsightTimeRange': {
                'EndTime': datetime(2015, 1, 1),
                'StartTime': datetime(2015, 1, 1)
            },
            'Name': 'string',
            'PredictionTimeRange': {
                'EndTime': datetime(2015, 1, 1),
                'StartTime': datetime(2015, 1, 1)
            },
            'ResourceCollection': {
                'CloudFormation': {
                    'StackNames': [
                        'string',
                    ]
                }
            },
            'Severity': 'LOW'|'MEDIUM'|'HIGH',
            'Status': 'ONGOING'|'CLOSED'
        },
    ],
    'ReactiveInsights': [
        {
            'Id': 'string',
            'InsightTimeRange': {
                'EndTime': datetime(2015, 1, 1),
                'StartTime': datetime(2015, 1, 1)
            },
            'Name': 'string',
            'ResourceCollection': {
                'CloudFormation': {
                    'StackNames': [
                        'string',
                    ]
                }
            },
            'Severity': 'LOW'|'MEDIUM'|'HIGH',
            'Status': 'ONGOING'|'CLOSED'
        },
    ]
}
Response Structure
Exceptions
See also: AWS API Documentation
Request Syntax
response = client.update_resource_collection(
    Action='ADD'|'REMOVE',
    ResourceCollection={
        'CloudFormation': {
            'StackNames': [
                'string',
            ]
        }
    }
)
[REQUIRED]
dict
Response Syntax
{}
Response Structure
Exceptions
See also: AWS API Documentation
Request Syntax
response = client.update_service_integration(
    ServiceIntegration={
        'OpsCenter': {
            'OptInStatus': 'ENABLED'|'DISABLED'
        }
    }
)
[REQUIRED]
{}
Response Structure
Exceptions
The available paginators are:
paginator = client.get_paginator('describe_resource_collection_health')
Creates an iterator that will paginate through responses from DevOpsGuru.Client.describe_resource_collection_health().
See also: AWS API Documentation
Request Syntax
response_iterator = paginator.paginate(
    ResourceCollectionType='string',
    PaginationConfig={
        'MaxItems': 123,
        'StartingToken': 'string'
    }
)
A dictionary that provides parameters to control pagination.
The total number of items to return. If the total number of items available is more than the value specified in max-items then a NextToken will be provided in the output that you can use to resume pagination.
A token to specify where to start paginating. This is the NextToken from a previous response.
dict
Response Syntax
{
    'CloudFormation': [
        {
            'Insight': {
                'MeanTimeToRecoverInMilliseconds': 123,
                'OpenProactiveInsights': 123,
                'OpenReactiveInsights': 123
            },
            'StackName': 'string'
        },
    ],
}
Response Structure
paginator = client.get_paginator('get_resource_collection')
Creates an iterator that will paginate through responses from DevOpsGuru.Client.get_resource_collection().
See also: AWS API Documentation
Request Syntax
response_iterator = paginator.paginate(
    ResourceCollectionType='string',
    PaginationConfig={
        'MaxItems': 123,
        'StartingToken': 'string'
    }
)
A dictionary that provides parameters to control pagination.
The total number of items to return. If the total number of items available is more than the value specified in max-items then a NextToken will be provided in the output that you can use to resume pagination.
A token to specify where to start paginating. This is the NextToken from a previous response.
dict
Response Syntax
{
    'ResourceCollection': {
        'CloudFormation': {
            'StackNames': [
                'string',
            ]
        }
    }
}
Response Structure
paginator = client.get_paginator('list_anomalies_for_insight')
Creates an iterator that will paginate through responses from DevOpsGuru.Client.list_anomalies_for_insight().
See also: AWS API Documentation
Request Syntax
response_iterator = paginator.paginate(
    InsightId='string',
    StartTimeRange={
        'FromTime': datetime(2015, 1, 1),
        'ToTime': datetime(2015, 1, 1)
    },
    PaginationConfig={
        'MaxItems': 123,
        'PageSize': 123,
        'StartingToken': 'string'
    }
)
A dictionary that provides parameters to control pagination.
The total number of items to return. If the total number of items available is more than the value specified in max-items then a NextToken will be provided in the output that you can use to resume pagination.
The size of each page.
A token to specify where to start paginating. This is the NextToken from a previous response.
dict
Response Syntax
{
    'ProactiveAnomalies': [
        {
            'AnomalyTimeRange': {
                'EndTime': datetime(2015, 1, 1),
                'StartTime': datetime(2015, 1, 1)
            },
            'AssociatedInsightId': 'string',
            'Id': 'string',
            'Limit': 123.0,
            'PredictionTimeRange': {
                'EndTime': datetime(2015, 1, 1),
                'StartTime': datetime(2015, 1, 1)
            },
            'ResourceCollection': {
                'CloudFormation': {
                    'StackNames': [
                        'string',
                    ]
                }
            },
            'Severity': 'LOW'|'MEDIUM'|'HIGH',
            'SourceDetails': {
                'CloudWatchMetrics': [
                    {
                        'Dimensions': [
                            {
                                'Name': 'string',
                                'Value': 'string'
                            },
                        ],
                        'MetricName': 'string',
                        'Namespace': 'string',
                        'Period': 123,
                        'Stat': 'Sum'|'Average'|'SampleCount'|'Minimum'|'Maximum'|'p99'|'p90'|'p50',
                        'Unit': 'string'
                    },
                ]
            },
            'Status': 'ONGOING'|'CLOSED',
            'UpdateTime': datetime(2015, 1, 1)
        },
    ],
    'ReactiveAnomalies': [
        {
            'AnomalyTimeRange': {
                'EndTime': datetime(2015, 1, 1),
                'StartTime': datetime(2015, 1, 1)
            },
            'AssociatedInsightId': 'string',
            'Id': 'string',
            'ResourceCollection': {
                'CloudFormation': {
                    'StackNames': [
                        'string',
                    ]
                }
            },
            'Severity': 'LOW'|'MEDIUM'|'HIGH',
            'SourceDetails': {
                'CloudWatchMetrics': [
                    {
                        'Dimensions': [
                            {
                                'Name': 'string',
                                'Value': 'string'
                            },
                        ],
                        'MetricName': 'string',
                        'Namespace': 'string',
                        'Period': 123,
                        'Stat': 'Sum'|'Average'|'SampleCount'|'Minimum'|'Maximum'|'p99'|'p90'|'p50',
                        'Unit': 'string'
                    },
                ]
            },
            'Status': 'ONGOING'|'CLOSED'
        },
    ]
}
Response Structure
paginator = client.get_paginator('list_events')
Creates an iterator that will paginate through responses from DevOpsGuru.Client.list_events().
See also: AWS API Documentation
Request Syntax
response_iterator = paginator.paginate(
    Filters={
        'DataSource': 'AWS_CLOUD_TRAIL'|'AWS_CODE_DEPLOY',
        'EventClass': 'INFRASTRUCTURE'|'DEPLOYMENT'|'SECURITY_CHANGE'|'CONFIG_CHANGE'|'SCHEMA_CHANGE',
        'EventSource': 'string',
        'EventTimeRange': {
            'FromTime': datetime(2015, 1, 1),
            'ToTime': datetime(2015, 1, 1)
        },
        'InsightId': 'string',
        'ResourceCollection': {
            'CloudFormation': {
                'StackNames': [
                    'string',
                ]
            }
        }
    },
    PaginationConfig={
        'MaxItems': 123,
        'PageSize': 123,
        'StartingToken': 'string'
    }
)
[REQUIRED]
A dictionary that provides parameters to control pagination.
The total number of items to return. If the total number of items available is more than the value specified in max-items then a NextToken will be provided in the output that you can use to resume pagination.
The size of each page.
A token to specify where to start paginating. This is the NextToken from a previous response.
dict
Response Syntax
{
    'Events': [
        {
            'DataSource': 'AWS_CLOUD_TRAIL'|'AWS_CODE_DEPLOY',
            'EventClass': 'INFRASTRUCTURE'|'DEPLOYMENT'|'SECURITY_CHANGE'|'CONFIG_CHANGE'|'SCHEMA_CHANGE',
            'EventSource': 'string',
            'Id': 'string',
            'Name': 'string',
            'ResourceCollection': {
                'CloudFormation': {
                    'StackNames': [
                        'string',
                    ]
                }
            },
            'Resources': [
                {
                    'Arn': 'string',
                    'Name': 'string',
                    'Type': 'string'
                },
            ],
            'Time': datetime(2015, 1, 1)
        },
    ],
}
Response Structure
paginator = client.get_paginator('list_insights')
Creates an iterator that will paginate through responses from DevOpsGuru.Client.list_insights().
See also: AWS API Documentation
Request Syntax
response_iterator = paginator.paginate(
    StatusFilter={
        'Any': {
            'StartTimeRange': {
                'FromTime': datetime(2015, 1, 1),
                'ToTime': datetime(2015, 1, 1)
            },
            'Type': 'REACTIVE'|'PROACTIVE'
        },
        'Closed': {
            'EndTimeRange': {
                'FromTime': datetime(2015, 1, 1),
                'ToTime': datetime(2015, 1, 1)
            },
            'Type': 'REACTIVE'|'PROACTIVE'
        },
        'Ongoing': {
            'Type': 'REACTIVE'|'PROACTIVE'
        }
    },
    PaginationConfig={
        'MaxItems': 123,
        'PageSize': 123,
        'StartingToken': 'string'
    }
)
[REQUIRED]
A dictionary that provides parameters to control pagination.
The total number of items to return. If the total number of items available is more than the value specified in max-items then a NextToken will be provided in the output that you can use to resume pagination.
The size of each page.
A token to specify where to start paginating. This is the NextToken from a previous response.
dict
Response Syntax
{
    'ProactiveInsights': [
        {
            'Id': 'string',
            'InsightTimeRange': {
                'EndTime': datetime(2015, 1, 1),
                'StartTime': datetime(2015, 1, 1)
            },
            'Name': 'string',
            'PredictionTimeRange': {
                'EndTime': datetime(2015, 1, 1),
                'StartTime': datetime(2015, 1, 1)
            },
            'ResourceCollection': {
                'CloudFormation': {
                    'StackNames': [
                        'string',
                    ]
                }
            },
            'Severity': 'LOW'|'MEDIUM'|'HIGH',
            'Status': 'ONGOING'|'CLOSED'
        },
    ],
    'ReactiveInsights': [
        {
            'Id': 'string',
            'InsightTimeRange': {
                'EndTime': datetime(2015, 1, 1),
                'StartTime': datetime(2015, 1, 1)
            },
            'Name': 'string',
            'ResourceCollection': {
                'CloudFormation': {
                    'StackNames': [
                        'string',
                    ]
                }
            },
            'Severity': 'LOW'|'MEDIUM'|'HIGH',
            'Status': 'ONGOING'|'CLOSED'
        },
    ]
}
Response Structure
paginator = client.get_paginator('list_notification_channels')
Creates an iterator that will paginate through responses from DevOpsGuru.Client.list_notification_channels().
See also: AWS API Documentation
Request Syntax
response_iterator = paginator.paginate(
    PaginationConfig={
        'MaxItems': 123,
        'StartingToken': 'string'
    }
)
A dictionary that provides parameters to control pagination.
The total number of items to return. If the total number of items available is more than the value specified in max-items then a NextToken will be provided in the output that you can use to resume pagination.
A token to specify where to start paginating. This is the NextToken from a previous response.
{
    'Channels': [
        {
            'Config': {
                'Sns': {
                    'TopicArn': 'string'
                }
            },
            'Id': 'string'
        },
    ],
}
Response Structure
paginator = client.get_paginator('list_recommendations')
Creates an iterator that will paginate through responses from DevOpsGuru.Client.list_recommendations().
See also: AWS API Documentation
Request Syntax
response_iterator = paginator.paginate(
    InsightId='string',
    PaginationConfig={
        'MaxItems': 123,
        'StartingToken': 'string'
    }
)
A dictionary that provides parameters to control pagination.
The total number of items to return. If the total number of items available is more than the value specified in max-items then a NextToken will be provided in the output that you can use to resume pagination.
A token to specify where to start paginating. This is the NextToken from a previous response.
dict
Response Syntax
{
    'Recommendations': [
        {
            'Description': 'string',
            'Link': 'string',
            'Name': 'string',
            'Reason': 'string',
            'RelatedAnomalies': [
                {
                    'Resources': [
                        {
                            'Name': 'string',
                            'Type': 'string'
                        },
                    ],
                    'SourceDetails': [
                        {
                            'CloudWatchMetrics': [
                                {
                                    'MetricName': 'string',
                                    'Namespace': 'string'
                                },
                            ]
                        },
                    ]
                },
            ],
            'RelatedEvents': [
                {
                    'Name': 'string',
                    'Resources': [
                        {
                            'Name': 'string',
                            'Type': 'string'
                        },
                    ]
                },
            ]
        },
    ]
}
Response Structure
paginator = client.get_paginator('search_insights')
Creates an iterator that will paginate through responses from DevOpsGuru.Client.search_insights().
See also: AWS API Documentation
Request Syntax
response_iterator = paginator.paginate(
    Filters={
        'ResourceCollection': {
            'CloudFormation': {
                'StackNames': [
                    'string',
                ]
            }
        },
        'Severities': [
            'LOW'|'MEDIUM'|'HIGH',
        ],
        'Statuses': [
            'ONGOING'|'CLOSED',
        ]
    },
    StartTimeRange={
        'FromTime': datetime(2015, 1, 1),
        'ToTime': datetime(2015, 1, 1)
    },
    Type='REACTIVE'|'PROACTIVE',
    PaginationConfig={
        'MaxItems': 123,
        'PageSize': 123,
        'StartingToken': 'string'
    }
)
[REQUIRED]
A dictionary that provides parameters to control pagination.
The total number of items to return. If the total number of items available is more than the value specified in max-items then a NextToken will be provided in the output that you can use to resume pagination.
The size of each page.
A token to specify where to start paginating. This is the NextToken from a previous response.
dict
Response Syntax
{
    'ProactiveInsights': [
        {
            'Id': 'string',
            'InsightTimeRange': {
                'EndTime': datetime(2015, 1, 1),
                'StartTime': datetime(2015, 1, 1)
            },
            'Name': 'string',
            'PredictionTimeRange': {
                'EndTime': datetime(2015, 1, 1),
                'StartTime': datetime(2015, 1, 1)
            },
            'ResourceCollection': {
                'CloudFormation': {
                    'StackNames': [
                        'string',
                    ]
                }
            },
            'Severity': 'LOW'|'MEDIUM'|'HIGH',
            'Status': 'ONGOING'|'CLOSED'
        },
    ],
    'ReactiveInsights': [
        {
            'Id': 'string',
            'InsightTimeRange': {
                'EndTime': datetime(2015, 1, 1),
                'StartTime': datetime(2015, 1, 1)
            },
            'Name': 'string',
            'ResourceCollection': {
                'CloudFormation': {
                    'StackNames': [
                        'string',
                    ]
                }
            },
            'Severity': 'LOW'|'MEDIUM'|'HIGH',
            'Status': 'ONGOING'|'CLOSED'
        },
    ]
}
Response Structure